diff options
author | Hanzei <hanzei@mailbox.org> | 2018-07-20 15:45:36 +0300 |
---|---|---|
committer | Hanzei <hanzei@mailbox.org> | 2018-07-20 15:45:36 +0300 |
commit | ef5feab3ef4a66a03ccc89416303cfb6d5293a3a (patch) | |
tree | 3eb7013694433b62821a02149a728b2bcc6a6b3a /layouts/blog/list.html | |
parent | 64b7e1b01043807bf328363024bdb0ba1bdff8cc (diff) |
Refactor config.toml
Diffstat (limited to 'layouts/blog/list.html')
-rw-r--r-- | layouts/blog/list.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/blog/list.html b/layouts/blog/list.html index eede8cc..e1d1b66 100644 --- a/layouts/blog/list.html +++ b/layouts/blog/list.html @@ -3,10 +3,10 @@ {{ .Content }} </div> <div class="container"> - {{ if .Site.Params.showLatest }} + {{ if .Site.Params.home.showLatest | default true }} <h2 class="title is-2 top-pad">{{ i18n "index_blog_latestPosts" . }}</h2> {{ range first 1 .Pages.ByPublishDate.Reverse }} - <div class="summary">{{ .Date.Format (.Site.Params.dateForm | default "Jan 02, 2006") }} + <div class="summary">{{ .Date.Format (.Site.Params.dateFormat | default "Jan 02, 2006") }} <h3 class="title is-3 strong-post-title"> <a href="{{ .RelPermalink }}"> {{ .Title }} |