mirror of
https://git.adityakumar.xyz/hugo-theme-introduction.git
synced 2024-09-07 22:40:39 +00:00
Removed trailing spaces and missing newline at EOF (#170)
This commit is contained in:
parent
7dbdfe32b9
commit
8b1684b6c2
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1 +1 @@
|
|||
exampleSite/public
|
||||
exampleSite/public
|
||||
|
|
|
@ -2,4 +2,4 @@
|
|||
title: "{{ replace .TranslationBaseName "-" " " | title }}"
|
||||
date: {{ .Date }}
|
||||
draft: true
|
||||
---
|
||||
---
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
---
|
||||
title: "{{ replace .TranslationBaseName "-" " " | title }}" # Title of your project
|
||||
date: {{ .Date }}
|
||||
date: {{ .Date }}
|
||||
weight: 0 # Order in which to show this project on the home page
|
||||
external_link: "" # Optional external link instead of modal
|
||||
resources:
|
||||
resources:
|
||||
- src: plant.jpg
|
||||
params:
|
||||
weight: -100 # Optional weighting for a specific image in this project folder
|
||||
|
|
2
assets/vendor/fontawesome-free/LICENSE.txt
generated
vendored
2
assets/vendor/fontawesome-free/LICENSE.txt
generated
vendored
|
@ -24,7 +24,7 @@ attribution, so you shouldn't need to do anything additional when using these
|
|||
files normally.
|
||||
|
||||
We've kept attribution comments terse, so we ask that you do not actively work
|
||||
to remove them from files, especially code. They're a great way for folks to
|
||||
to remove them from files, especially code. They're a great way for folks to
|
||||
learn about Font Awesome.
|
||||
|
||||
# Brand Icons
|
||||
|
|
|
@ -3,4 +3,4 @@ title: "Undated post"
|
|||
tags: ["words"]
|
||||
---
|
||||
|
||||
I was born yesterday, tomorrow.
|
||||
I was born yesterday, tomorrow.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
title: "Design"
|
||||
weight: 2
|
||||
weight: 2
|
||||
resources:
|
||||
- src: plant.jpg
|
||||
params:
|
||||
|
|
|
@ -45,11 +45,11 @@
|
|||
{{ $home := . }}
|
||||
{{ $pages := .Resources.ByType "page" }}
|
||||
|
||||
{{ with .Site.GetPage "/blog" }}
|
||||
{{ with .Site.GetPage "/blog" }}
|
||||
{{ $pages = $pages | append . }}
|
||||
{{ end }}
|
||||
|
||||
{{ with .Site.GetPage "/projects" }}
|
||||
{{ with .Site.GetPage "/projects" }}
|
||||
{{ $pages = $pages | append . }}
|
||||
{{ end }}
|
||||
|
||||
|
|
14
netlify.toml
14
netlify.toml
|
@ -1,13 +1,13 @@
|
|||
[Settings]
|
||||
|
||||
# Settings in the [build] context are global and are applied to all contexts
|
||||
# unless otherwise overridden by more specific contexts.
|
||||
# Settings in the [build] context are global and are applied to all contexts
|
||||
# unless otherwise overridden by more specific contexts.
|
||||
[build]
|
||||
# Directory to change to before starting a build.
|
||||
# Directory to change to before starting a build.
|
||||
# This is where we will look for package.json/.nvmrc/etc.
|
||||
base = "exampleSite/"
|
||||
|
||||
# Directory (relative to root of your repo) that contains the deploy-ready
|
||||
# Directory (relative to root of your repo) that contains the deploy-ready
|
||||
# HTML files and assets generated by the build. If a base directory has
|
||||
# been specified, include it in the publish directory path.
|
||||
publish = "docs/"
|
||||
|
@ -15,14 +15,14 @@
|
|||
# Default build command.
|
||||
command = "echo 'default context'"
|
||||
|
||||
# Production context: all deploys from the Production branch set in your site's
|
||||
# Production context: all deploys from the Production branch set in your site's
|
||||
# deploy contexts will inherit these settings.
|
||||
[context.production]
|
||||
publish = "docs/"
|
||||
command = "hugo --gc --minify -t ../.. -d ../docs -v -b /"
|
||||
|
||||
# Deploy Preview context: all deploys resulting from a pull/merge request will
|
||||
# Deploy Preview context: all deploys resulting from a pull/merge request will
|
||||
# inherit these settings.
|
||||
[context.deploy-preview]
|
||||
publish = "docs/"
|
||||
command = "hugo --gc --minify -t ../.. -d ../docs -v -b /"
|
||||
command = "hugo --gc --minify -t ../.. -d ../docs -v -b /"
|
||||
|
|
|
@ -2,4 +2,4 @@
|
|||
|
||||
rm -rf ../docs
|
||||
cd ../exampleSite
|
||||
HUGO_THEME=hugo-theme-introduction hugo --gc --minify --themesDir ../.. -v -b / -d ../docs
|
||||
HUGO_THEME=hugo-theme-introduction hugo --gc --minify --themesDir ../.. -v -b / -d ../docs
|
||||
|
|
Loading…
Reference in a new issue