diff options
author | Thomas Heller <thomas.m.heller@gmail.com> | 2019-05-31 21:43:47 +0300 |
---|---|---|
committer | Thomas Heller <thomas.m.heller@gmail.com> | 2019-05-31 21:43:47 +0300 |
commit | 0f3c0a3451e730adc6fc31309a2d7221cc1eb6a6 (patch) | |
tree | dbeacc8fd68ba0daf5cafc291bf8a9f873bc31b6 | |
parent | 8994eecdfec07ce440983d6780e33d578b229378 (diff) |
home page file name fixed - fixes #10
-rw-r--r-- | exampleSite/content/_index.md (renamed from exampleSite/content/home.md) | 0 | ||||
-rw-r--r-- | layouts/index.html | 4 |
2 files changed, 1 insertions, 3 deletions
diff --git a/exampleSite/content/home.md b/exampleSite/content/_index.md index 1895254..1895254 100644 --- a/exampleSite/content/home.md +++ b/exampleSite/content/_index.md diff --git a/layouts/index.html b/layouts/index.html index 40be773..24eb020 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,5 +1,3 @@ {{ partial "header.html" . }} - {{ range where .Data.Pages "Title" "Home" }} - {{ .Content }} - {{ end }} + {{ .Content }} {{ partial "footer.html" . }} |