mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-11-04 16:05:59 -06:00
20 lines
857 B
HTML
20 lines
857 B
HTML
{{ if or .Date .Params.authors .IsTranslated .Site.Params.readingtime }}
|
|
<div class="post-metadata" aria-label="{{ i18n "aria_post_metadata" }}">
|
|
{{ if .Date }}
|
|
<span class="post-meta-item" aria-label="date">
|
|
{{ partial "icon.html" "calendar" }}
|
|
<time datetime="{{ .Date.Format "2006-01-02" }}" pubdate>
|
|
{{ i18n "long_date" (dict "Date" .Date "Data" .Site.Data) }}
|
|
</time>
|
|
</span>
|
|
{{ end }}
|
|
|
|
{{ partial "post-meta-item/authors.html" . }}
|
|
{{ partial "post-meta-item/translations.html" . }}
|
|
{{ partial "post-meta-item/readingtime.html" . }}
|
|
{{ partial "post-meta-item/series.html" . }}
|
|
{{ partial "post-meta-item/categories.html" . }}
|
|
{{ partial "post-meta-item/tags.html" . }}
|
|
</div>
|
|
{{ end }}
|