mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-12-22 20:23:18 -06:00
BBaoVanC
7bc8a4cb57
- Add vim folds to make organized sections - Rename a lot of classes from post- to page- - Generalize series CSS classes better - Clean up navbar div structure - Remove langpicker and most of multilingual support - many other minor tweaks
31 lines
1.4 KiB
HTML
31 lines
1.4 KiB
HTML
{{ 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" }}
|
|
<time datetime="{{ .Date.Format "2006-01-02" }}" pubdate>
|
|
{{ i18n "long_date" (dict "Date" .Date "Data" .Site.Data) }}
|
|
</time>
|
|
</span>
|
|
|
|
{{/* TODO: make this be a tooltip */}}
|
|
{{/* 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" }}
|
|
<time datetime="{{ .Lastmod.Format "2006-01-02" }}" pubdate>
|
|
{{ i18n "long_date" (dict "Date" .Lastmod "Data" .Site.Data) }}
|
|
</time>
|
|
{{ end }}
|
|
</span>
|
|
*/}}
|
|
{{ end }}
|
|
|
|
{{ 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 }}
|