Removed trailing spaces and missing newline at EOF (#170)

This commit is contained in:
Vincent Tam 2019-08-14 14:40:10 +02:00 committed by Hanzei
parent 7dbdfe32b9
commit 8b1684b6c2
9 changed files with 17 additions and 17 deletions

2
.gitignore vendored
View file

@ -1 +1 @@
exampleSite/public
exampleSite/public

View file

@ -2,4 +2,4 @@
title: "{{ replace .TranslationBaseName "-" " " | title }}"
date: {{ .Date }}
draft: true
---
---

View file

@ -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

View file

@ -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

View file

@ -3,4 +3,4 @@ title: "Undated post"
tags: ["words"]
---
I was born yesterday, tomorrow.
I was born yesterday, tomorrow.

View file

@ -1,6 +1,6 @@
---
title: "Design"
weight: 2
weight: 2
resources:
- src: plant.jpg
params:

View file

@ -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 }}

View file

@ -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 /"

View file

@ -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