2023-03-24 08:49:02 -05:00
|
|
|
{{ if or .Date .Params.authors .Site.Params.readingtime .Site.Params.gitFileURL }}
|
|
|
|
<div class="page-metadata" aria-label="{{ i18n "aria_post_metadata" }}">
|
2021-11-22 02:21:15 -06:00
|
|
|
{{ if .Date }}
|
2023-03-24 08:49:02 -05:00
|
|
|
<span class="page-metadata-item" aria-label="{{ i18n "aria_post_meta_date" }}">
|
2021-11-22 02:21:15 -06:00
|
|
|
{{ partial "icon.html" "calendar" }}
|
2023-04-06 00:08:28 -05:00
|
|
|
{{ partial "time-element.html" .Date }}
|
2021-11-22 02:21:15 -06:00
|
|
|
</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) }}
|
2023-03-24 08:49:02 -05:00
|
|
|
<span class="page-metadata-item" aria-label="{{ i18n "aria_post_meta_modified_date" }}">
|
2021-11-22 02:21:15 -06:00
|
|
|
{{ partial "icon.html" "pencil" }}
|
2023-04-06 00:08:28 -05:00
|
|
|
{{ partial "time-element.html" .Lastmod }}
|
2021-11-22 02:21:15 -06:00
|
|
|
{{ 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
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
{{ partial "page-metadata/item/authors.html" . }}
|
|
|
|
{{ partial "page-metadata/item/readingtime.html" . }}
|
|
|
|
{{ partial "page-metadata/item/edithistory.html" . }}
|
2024-10-01 13:29:14 -05:00
|
|
|
{{ partial "page-metadata/item/viewraw.html" . }}
|
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
{{ partial "page-metadata/item/categories.html" . }}
|
2024-10-01 13:29:14 -05:00
|
|
|
|
2023-03-24 08:49:02 -05:00
|
|
|
{{ partial "page-metadata/item/tags.html" . }}
|
2021-11-22 02:21:15 -06:00
|
|
|
</div>
|
2021-10-09 18:08:27 -05:00
|
|
|
{{ end }}
|