summaryrefslogtreecommitdiff
path: root/layouts/_default/single.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r--layouts/_default/single.html6
1 files changed, 1 insertions, 5 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 20c3bc9..b13fb74 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -8,11 +8,7 @@
</h1>
{{- if .Params.hideMeta }}{{ else }}
<div class="post-meta">
- <time>{{ .Date.Format (default "January 2, 2006" .Site.Params.DateFormat) }}</time>
- {{- if $.Site.Params.ShowReadingTime -}}&nbsp;·&nbsp;
- {{- $default_txt := print .ReadingTime " " "min" }}
- {{- i18n "read_time" .ReadingTime | default $default_txt }}{{ end }}
- {{- if or .Params.author .Site.Params.author }}&nbsp;·&nbsp;{{- .Params.author | default .Site.Params.author }}{{ end }}
+ {{- partial "post_meta.html" . -}}
{{- if .IsTranslated -}}&nbsp;|&nbsp;
<ul class="i18n_list">
{{- i18n "translations" | default "Translations"}}: