aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/_default
diff options
context:
space:
mode:
authorÓscar Nájera <hello@oscarnajera.com>2018-07-16 01:11:07 +0200
committerÓscar Nájera <hello@oscarnajera.com>2018-07-16 01:11:07 +0200
commit6467d9d621438458c611e2030adcefa7b43c56ed (patch)
treeb04e3e5489752af92560a5218ac2c650b81a444b /layouts/_default
parent487e6410cb1b3d2dcfa5498d51220639c571ed88 (diff)
downloadhugo-minimalist-theme-6467d9d621438458c611e2030adcefa7b43c56ed.tar.gz
hugo-minimalist-theme-6467d9d621438458c611e2030adcefa7b43c56ed.tar.bz2
hugo-minimalist-theme-6467d9d621438458c611e2030adcefa7b43c56ed.zip
Post metadata
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/single.html15
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 }}