diff options
author | Vicky <vicky@vickylai.io> | 2018-03-25 20:11:24 +0300 |
---|---|---|
committer | Vicky <vicky@vickylai.io> | 2018-03-25 20:11:24 +0300 |
commit | 64f3358bc9225a8145cc82f3abce41ca987f35c8 (patch) | |
tree | 90dcbae24fb373fa83d0dc1f5db1e0a847313b1b /layouts | |
parent | 1083561c7b75da98561833b7268158ca4961ce17 (diff) |
Restored camel case params.
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/index.html | 2 | ||||
-rw-r--r-- | layouts/partials/blogsection.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/layouts/index.html b/layouts/index.html index 6aa797c..37ec32f 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -31,7 +31,7 @@ {{ if .Site.Params.showProjects }} <a class="nav-item" href="#projects">Projects</a> {{ end }} - {{ if .Site.Params.showBlog | default true }} + {{ if .Site.Params.showBlog }} <a class="nav-item" href="#blog">Blog</a> {{ end }} <a class="nav-item" href="#contact">Contact</a> diff --git a/layouts/partials/blogsection.html b/layouts/partials/blogsection.html index 886cdf7..62796a6 100644 --- a/layouts/partials/blogsection.html +++ b/layouts/partials/blogsection.html @@ -3,7 +3,7 @@ {{ if .Site.Params.showLatest }} <h2 class="title is-2 has-text-centered">Latest Post</h2> {{ range first 1 (where .Data.Pages.ByPublishDate.Reverse "Section" "blog") }} - <div class="summary">{{ .Date.Format (.Site.Params.dateform | default "Jan 02, 2006") }} + <div class="summary">{{ .Date.Format (.Site.Params.dateForm | default "Jan 02, 2006") }} <h3 class="title is-3 latest-post-title"><a href="{{ .RelPermalink }}">{{ .Title }}</a></h3> <div class="markdown"> {{ .Summary }} |