diff options
Diffstat (limited to 'layouts/_default')
-rw-r--r-- | layouts/_default/single.html | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 1fab028..c0abf4c 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,6 +1,6 @@ {{ define "main" }} <article> - <div id="post-header-cover" class="w-100 dt bg-center cover bg-black-30" + <div id="post-header-cover" class="w-100 vh-50 dt bg-center cover bg-black-30" {{ with .Params.coverimage }} style="background-image:url({{ . }})" {{ end }} > @@ -8,7 +8,10 @@ <h1 class="f1 lh-title"> {{ .Title }}</h1> - <div class="f4 tracked">{{ .Date.Format "Mon, Jan 2, 2006" }}</div> + {{ if not (eq .Params.showMeta false) }} + <div class="f4 tracked mb3">{{ .Date.Format "Mon, Jan 2, 2006" }}</div> + {{ partial "meta.html" . }} + {{ end }} </header> </div> @@ -39,6 +42,8 @@ </div> </footer> + <!-- Pagination Actions for posts --> + {{ if not (eq .Params.showActions false) }} <div class="mv3 tc"> {{ with .NextInSection }} <a href="{{ .RelPermalink }}" class="dib f4 link br1 ma1 pa2 blue hover-bg-light-blue hover-white ba"> @@ -54,11 +59,13 @@ </a> {{ end}} </div> - {{ if not (eq .Params.comments false) }} + {{ end}} + + {{ if not (eq .Params.comments false) }} <div class="mw7 center mv4 pa2"> {{ template "_internal/disqus.html" . }} </div> - {{ end }} + {{ end }} </div> </article> {{ end }} |