2021-11-13 17:04:10 -06:00
|
|
|
{{ if or .Date .Params.authors .IsTranslated .Site.Params.readingtime .Site.Params.gitFileURL }}
|
2021-11-23 19:06:26 -06:00
|
|
|
<div class="post-metadata" aria-label="{{ i18n "aria_post_metadata" }}">
|
2021-11-22 02:21:15 -06:00
|
|
|
{{ if .Date }}
|
2021-11-23 19:06:26 -06:00
|
|
|
<span class="post-meta-item" aria-label="{{ i18n "aria_post_meta_date" }}">
|
2021-11-22 02:21:15 -06:00
|
|
|
{{ partial "icon.html" "calendar" }}
|
|
|
|
<time datetime="{{ .Date.Format "2006-01-02" }}" pubdate>
|
|
|
|
{{ i18n "long_date" (dict "Date" .Date "Data" .Site.Data) }}
|
|
|
|
</time>
|
|
|
|
</span>
|
2021-10-09 18:08:27 -05:00
|
|
|
|
2021-11-22 02:21:15 -06:00
|
|
|
{{/* TODO: make this be a tooltip */}}
|
2022-04-24 01:23:33 -05:00
|
|
|
{{/* DISABLED
|
2021-11-22 02:21:15 -06:00
|
|
|
{{ if ne (time.Format "2006-01-02" .Lastmod) (time.Format "2006-01-02" .Date) }}
|
2021-11-23 19:06:26 -06:00
|
|
|
<span class="post-meta-item" aria-label="{{ i18n "aria_post_meta_modified_date" }}">
|
2021-11-22 02:21:15 -06:00
|
|
|
{{ partial "icon.html" "pencil" }}
|
|
|
|
<time datetime="{{ .Lastmod.Format "2006-01-02" }}" pubdate>
|
|
|
|
{{ i18n "long_date" (dict "Date" .Lastmod "Data" .Site.Data) }}
|
|
|
|
</time>
|
|
|
|
{{ end }}
|
|
|
|
</span>
|
2022-04-24 01:23:33 -05:00
|
|
|
*/}}
|
2021-10-09 18:08:27 -05:00
|
|
|
{{ end }}
|
2021-10-11 20:50:09 -05:00
|
|
|
|
2021-11-22 02:21:15 -06:00
|
|
|
{{ partial "post-meta-item/authors.html" . }}
|
|
|
|
{{ partial "post-meta-item/translations.html" . }}
|
|
|
|
{{ partial "post-meta-item/readingtime.html" . }}
|
|
|
|
{{ partial "post-meta-item/viewsource.html" . }}
|
|
|
|
{{ partial "post-meta-item/tags.html" . }}
|
|
|
|
</div>
|
2021-10-09 18:08:27 -05:00
|
|
|
{{ end }}
|