diff options
author | key-amb <yasutake.kiyoshi@gmail.com> | 2017-01-12 00:13:06 +0300 |
---|---|---|
committer | key-amb <yasutake.kiyoshi@gmail.com> | 2017-01-12 00:13:06 +0300 |
commit | 0e9a6bcfdd6314cb0c0e6638c96c7ebc63d9758f (patch) | |
tree | 9c5d4e8159d06bfe9b23aa6743a0730a0821698d | |
parent | cdc869c0d4de39bdb684a8230052970ee56f780b (diff) |
Change - Title of _index.md must be equal to .Site.Titletopic/index
-rw-r--r-- | layouts/index.html | 3 |
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 }} |