mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-11-22 10:31:39 +01:00
archive: update meta
* match with others
This commit is contained in:
parent
c480729b8d
commit
eb6e94d1d2
@ -20,12 +20,11 @@
|
|||||||
{{- .Title | markdownify }}
|
{{- .Title | markdownify }}
|
||||||
</h3>
|
</h3>
|
||||||
<div class="archive-meta">
|
<div class="archive-meta">
|
||||||
{{- if or .Params.author .Site.Params.author }}
|
<time>{{ .Date.Format "January 2, 2006" }}</time>
|
||||||
{{- .Params.author | default .Site.Params.author }} ·
|
{{- if $.Site.Params.ShowReadingTime }} .
|
||||||
{{- end }}
|
{{- $default_txt := print .ReadingTime " " "min" }}
|
||||||
{{- if $.Site.Params.ShowReadingTime }}
|
{{- i18n "read_time" .ReadingTime | default $default_txt }}{{ end }}
|
||||||
{{ .ReadingTime }}{{ i18n "read_time" | default "min read" }} · {{ end }}
|
{{- if or .Params.author .Site.Params.author }} . {{- .Params.author | default .Site.Params.author }}{{ end }}
|
||||||
{{- .Date.Format "January 2, 2006" -}}
|
|
||||||
</div>
|
</div>
|
||||||
<a class="entry-link" aria-label="post link to {{ .Title | plainify }}" href="{{ .Permalink }}"></a>
|
<a class="entry-link" aria-label="post link to {{ .Title | plainify }}" href="{{ .Permalink }}"></a>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user