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

github.com/thomasheller/crab.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Heller <thomas.m.heller@gmail.com>2019-05-31 21:43:47 +0300
committerThomas Heller <thomas.m.heller@gmail.com>2019-05-31 21:43:47 +0300
commit0f3c0a3451e730adc6fc31309a2d7221cc1eb6a6 (patch)
treedbeacc8fd68ba0daf5cafc291bf8a9f873bc31b6
parent8994eecdfec07ce440983d6780e33d578b229378 (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.html4
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" . }}