diff options
| author | Aditya Telange <21258296+adityatelange@users.noreply.github.com> | 2020-09-22 12:41:25 +0530 |
|---|---|---|
| committer | Aditya Telange <21258296+adityatelange@users.noreply.github.com> | 2020-09-22 12:41:25 +0530 |
| commit | 097eb6baf2ad58a74210fccdc79f194b89ef7373 (patch) | |
| tree | 8c5dca5b12ea09e84cdf52c5d570312e299bd3e9 /layouts/_default/single.html | |
| parent | fd143fede2afd3c902f0a47102d49fbb0bbaa8c4 (diff) | |
refactor
Diffstat (limited to 'layouts/_default/single.html')
| -rw-r--r-- | layouts/_default/single.html | 2 |
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> |
