summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAditya Telange <21258296+adityatelange@users.noreply.github.com>2020-09-22 12:41:25 +0530
committerAditya Telange <21258296+adityatelange@users.noreply.github.com>2020-09-22 12:41:25 +0530
commit097eb6baf2ad58a74210fccdc79f194b89ef7373 (patch)
tree8c5dca5b12ea09e84cdf52c5d570312e299bd3e9
parentfd143fede2afd3c902f0a47102d49fbb0bbaa8c4 (diff)
refactor
-rw-r--r--layouts/_default/single.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index b104c5f..078c5b1 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -9,10 +9,10 @@
{{ if .Params.hideMeta }}{{ else }}
<div class="post-meta">
<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 }} .
{{ $default_txt := print .ReadingTime " " "min" }}
{{ i18n "read_time" .ReadingTime | default $default_txt }}{{ end }}
+ {{ if or .Params.author .Site.Params.author }} . {{ .Params.author | default .Site.Params.author }}{{ end }}
</div>
{{end}}
</header>