mirror of
https://git.adityakumar.xyz/hugo-theme-introduction.git
synced 2024-09-16 18:03:05 +00:00
Removed trailing spaces and missing newline at EOF (#170)
This commit is contained in:
parent
7dbdfe32b9
commit
8b1684b6c2
9 changed files with 17 additions and 17 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1 +1 @@
|
||||||
exampleSite/public
|
exampleSite/public
|
||||||
|
|
|
@ -2,4 +2,4 @@
|
||||||
title: "{{ replace .TranslationBaseName "-" " " | title }}"
|
title: "{{ replace .TranslationBaseName "-" " " | title }}"
|
||||||
date: {{ .Date }}
|
date: {{ .Date }}
|
||||||
draft: true
|
draft: true
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
---
|
---
|
||||||
title: "{{ replace .TranslationBaseName "-" " " | title }}" # Title of your project
|
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
|
weight: 0 # Order in which to show this project on the home page
|
||||||
external_link: "" # Optional external link instead of modal
|
external_link: "" # Optional external link instead of modal
|
||||||
resources:
|
resources:
|
||||||
- src: plant.jpg
|
- src: plant.jpg
|
||||||
params:
|
params:
|
||||||
weight: -100 # Optional weighting for a specific image in this project folder
|
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.
|
files normally.
|
||||||
|
|
||||||
We've kept attribution comments terse, so we ask that you do not actively work
|
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.
|
learn about Font Awesome.
|
||||||
|
|
||||||
# Brand Icons
|
# Brand Icons
|
||||||
|
|
|
@ -3,4 +3,4 @@ title: "Undated post"
|
||||||
tags: ["words"]
|
tags: ["words"]
|
||||||
---
|
---
|
||||||
|
|
||||||
I was born yesterday, tomorrow.
|
I was born yesterday, tomorrow.
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
title: "Design"
|
title: "Design"
|
||||||
weight: 2
|
weight: 2
|
||||||
resources:
|
resources:
|
||||||
- src: plant.jpg
|
- src: plant.jpg
|
||||||
params:
|
params:
|
||||||
|
|
|
@ -45,11 +45,11 @@
|
||||||
{{ $home := . }}
|
{{ $home := . }}
|
||||||
{{ $pages := .Resources.ByType "page" }}
|
{{ $pages := .Resources.ByType "page" }}
|
||||||
|
|
||||||
{{ with .Site.GetPage "/blog" }}
|
{{ with .Site.GetPage "/blog" }}
|
||||||
{{ $pages = $pages | append . }}
|
{{ $pages = $pages | append . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ with .Site.GetPage "/projects" }}
|
{{ with .Site.GetPage "/projects" }}
|
||||||
{{ $pages = $pages | append . }}
|
{{ $pages = $pages | append . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
|
14
netlify.toml
14
netlify.toml
|
@ -1,13 +1,13 @@
|
||||||
[Settings]
|
[Settings]
|
||||||
|
|
||||||
# Settings in the [build] context are global and are applied to all contexts
|
# Settings in the [build] context are global and are applied to all contexts
|
||||||
# unless otherwise overridden by more specific contexts.
|
# unless otherwise overridden by more specific contexts.
|
||||||
[build]
|
[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.
|
# This is where we will look for package.json/.nvmrc/etc.
|
||||||
base = "exampleSite/"
|
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
|
# HTML files and assets generated by the build. If a base directory has
|
||||||
# been specified, include it in the publish directory path.
|
# been specified, include it in the publish directory path.
|
||||||
publish = "docs/"
|
publish = "docs/"
|
||||||
|
@ -15,14 +15,14 @@
|
||||||
# Default build command.
|
# Default build command.
|
||||||
command = "echo 'default context'"
|
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.
|
# deploy contexts will inherit these settings.
|
||||||
[context.production]
|
[context.production]
|
||||||
publish = "docs/"
|
publish = "docs/"
|
||||||
command = "hugo --gc --minify -t ../.. -d ../docs -v -b /"
|
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.
|
# inherit these settings.
|
||||||
[context.deploy-preview]
|
[context.deploy-preview]
|
||||||
publish = "docs/"
|
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
|
rm -rf ../docs
|
||||||
cd ../exampleSite
|
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