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

github.com/progrhyme/hugo-theme-bootie-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkey-amb <yasutake.kiyoshi@gmail.com>2017-01-12 00:13:06 +0300
committerkey-amb <yasutake.kiyoshi@gmail.com>2017-01-12 00:13:06 +0300
commit0e9a6bcfdd6314cb0c0e6638c96c7ebc63d9758f (patch)
tree9c5d4e8159d06bfe9b23aa6743a0730a0821698d
parentcdc869c0d4de39bdb684a8230052970ee56f780b (diff)
Change - Title of _index.md must be equal to .Site.Titletopic/index
-rw-r--r--layouts/index.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/layouts/index.html b/layouts/index.html
index fd88c0d..6fecca6 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -11,7 +11,8 @@
</div>
</div>
-{{ range where .Site.Pages "Title" "_index" }}
+{{ $siteTitle := .Site.Title }}
+{{ range where .Site.Pages "Title" $siteTitle }}
<div class="row doc-main">
<p class="doc-entry-meta"><time datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "January 02, 2006" }}</time></p>
{{ .Content }}