From 097eb6baf2ad58a74210fccdc79f194b89ef7373 Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Tue, 22 Sep 2020 12:41:25 +0530 Subject: [PATCH] refactor --- layouts/_default/single.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/_default/single.html b/layouts/_default/single.html index b104c5f1..078c5b1e 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -9,10 +9,10 @@ {{ if .Params.hideMeta }}{{ else }}
- {{ 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 }}
{{end}}