archive: update meta

* match with others
This commit is contained in:
Aditya Telange 2020-09-23 13:12:23 +05:30
parent c480729b8d
commit eb6e94d1d2
No known key found for this signature in database
GPG Key ID: 82E844EF3DA99E77

View File

@ -20,12 +20,11 @@
{{- .Title | markdownify }}
</h3>
<div class="archive-meta">
{{- 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" }}&nbsp;·&nbsp;{{ end }}
{{- .Date.Format "January 2, 2006" -}}
<time>{{ .Date.Format "January 2, 2006" }}</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 }}
</div>
<a class="entry-link" aria-label="post link to {{ .Title | plainify }}" href="{{ .Permalink }}"></a>
</div>