bobatheme/layouts/partials/page-metadata/post-full.html

27 lines
1.2 KiB
HTML
Raw Permalink Normal View History

{{ if or .Date .Params.authors .Site.Params.readingtime .Site.Params.gitFileURL }}
<div class="page-metadata" aria-label="{{ i18n "aria_post_metadata" }}">
{{ if .Date }}
<span class="page-metadata-item" aria-label="{{ i18n "aria_post_meta_date" }}">
{{ partial "icon.html" "calendar" }}
2023-04-06 00:08:28 -05:00
{{ partial "time-element.html" .Date }}
</span>
{{/* TODO: make this be a tooltip */}}
2022-04-24 01:23:33 -05:00
{{/* DISABLED
{{ if ne (time.Format "2006-01-02" .Lastmod) (time.Format "2006-01-02" .Date) }}
<span class="page-metadata-item" aria-label="{{ i18n "aria_post_meta_modified_date" }}">
{{ partial "icon.html" "pencil" }}
2023-04-06 00:08:28 -05:00
{{ partial "time-element.html" .Lastmod }}
{{ end }}
</span>
2022-04-24 01:23:33 -05:00
*/}}
{{ end }}
2021-10-11 20:50:09 -05:00
{{ partial "page-metadata/item/authors.html" . }}
{{ partial "page-metadata/item/readingtime.html" . }}
{{ partial "page-metadata/item/edithistory.html" . }}
{{ partial "page-metadata/item/categories.html" . }}
{{ partial "page-metadata/item/tags.html" . }}
</div>
{{ end }}