summaryrefslogtreecommitdiff
path: root/layouts/_default/single.html
diff options
context:
space:
mode:
authorAditya Telange <21258296+adityatelange@users.noreply.github.com>2020-09-15 22:32:34 +0530
committerAditya Telange <21258296+adityatelange@users.noreply.github.com>2020-09-15 22:32:34 +0530
commit6813112e25a6df82531306e0c5ccad3d823fdc4f (patch)
treefbc3c86ff1a736e25c8f44e058e4cf99bf54689d /layouts/_default/single.html
parent9c861cb77f865d086dacea965907addf1dbf3363 (diff)
layouts: single: update post meta
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r--layouts/_default/single.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index a10ce57..ded367b 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -8,9 +8,9 @@
</h1>
{{ if .Params.hideMeta }}{{ else }}
<div class="post-meta">
- {{- if or .Params.author .Site.Params.author }}
- {{- .Params.author | default .Site.Params.author }} ยท {{ end }}
- {{- .Date.Format "January 2, 2006" -}}
+ <time>{{ .Date.Format "January 2, 2006" }}</time>
+ {{ if or .Params.author .Site.Params.author }} . {{ .Params.author | default .Site.Params.author }}{{ end }}
+ {{ if $.Site.Params.ShowReadingTime }} . {{ .ReadingTime }}{{ i18n "read_time" | default "min read" }}{{ end }}
</div>
{{end}}
</header>