Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/vickylaixy/hugo-theme-introduction.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Tam <VincentTam@users.noreply.github.com>2019-08-14 15:40:10 +0300
committerHanzei <16541325+hanzei@users.noreply.github.com>2019-08-14 15:40:10 +0300
commit8b1684b6c27c51bde5c4bb058e40e288089eb129 (patch)
tree200fb0bbb0ea4cbe7ceda2e1d8d31a1dc54d2ac2
parent7dbdfe32b974c84397a2a09dad67523352c0dbdc (diff)
Removed trailing spaces and missing newline at EOF (#170)
-rw-r--r--.gitignore2
-rw-r--r--archetypes/default.md2
-rw-r--r--archetypes/projects.md4
-rw-r--r--assets/vendor/fontawesome-free/LICENSE.txt2
-rw-r--r--exampleSite/content/en/blog/no-date.md2
-rw-r--r--exampleSite/content/en/projects/design/index.md2
-rw-r--r--layouts/index.html4
-rw-r--r--netlify.toml14
-rwxr-xr-xscripts/build_docs.sh2
9 files changed, 17 insertions, 17 deletions
diff --git a/.gitignore b/.gitignore
index 3acdc80..00c7a58 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-exampleSite/public \ No newline at end of file
+exampleSite/public
diff --git a/archetypes/default.md b/archetypes/default.md
index fbd25fc..17a3207 100644
--- a/archetypes/default.md
+++ b/archetypes/default.md
@@ -2,4 +2,4 @@
title: "{{ replace .TranslationBaseName "-" " " | title }}"
date: {{ .Date }}
draft: true
---- \ No newline at end of file
+---
diff --git a/archetypes/projects.md b/archetypes/projects.md
index ab9bf7f..4523f83 100644
--- a/archetypes/projects.md
+++ b/archetypes/projects.md
@@ -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
diff --git a/assets/vendor/fontawesome-free/LICENSE.txt b/assets/vendor/fontawesome-free/LICENSE.txt
index 28c1c4b..97b4d5b 100644
--- a/assets/vendor/fontawesome-free/LICENSE.txt
+++ b/assets/vendor/fontawesome-free/LICENSE.txt
@@ -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
diff --git a/exampleSite/content/en/blog/no-date.md b/exampleSite/content/en/blog/no-date.md
index d907572..6434ae1 100644
--- a/exampleSite/content/en/blog/no-date.md
+++ b/exampleSite/content/en/blog/no-date.md
@@ -3,4 +3,4 @@ title: "Undated post"
tags: ["words"]
---
-I was born yesterday, tomorrow. \ No newline at end of file
+I was born yesterday, tomorrow.
diff --git a/exampleSite/content/en/projects/design/index.md b/exampleSite/content/en/projects/design/index.md
index e284fd6..d972d1b 100644
--- a/exampleSite/content/en/projects/design/index.md
+++ b/exampleSite/content/en/projects/design/index.md
@@ -1,6 +1,6 @@
---
title: "Design"
-weight: 2
+weight: 2
resources:
- src: plant.jpg
params:
diff --git a/layouts/index.html b/layouts/index.html
index f38c33a..3de991a 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -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 }}
diff --git a/netlify.toml b/netlify.toml
index 479dd53..32d2915 100644
--- a/netlify.toml
+++ b/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 /" \ No newline at end of file
+ command = "hugo --gc --minify -t ../.. -d ../docs -v -b /"
diff --git a/scripts/build_docs.sh b/scripts/build_docs.sh
index 7b5f57b..2e9a77a 100755
--- a/scripts/build_docs.sh
+++ b/scripts/build_docs.sh
@@ -2,4 +2,4 @@
rm -rf ../docs
cd ../exampleSite
-HUGO_THEME=hugo-theme-introduction hugo --gc --minify --themesDir ../.. -v -b / -d ../docs \ No newline at end of file
+HUGO_THEME=hugo-theme-introduction hugo --gc --minify --themesDir ../.. -v -b / -d ../docs