mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-06-15 10:57:28 -05:00
Improve date element in page metadata
This commit is contained in:
@ -3,9 +3,7 @@
|
||||
{{ if .Date }}
|
||||
<span class="page-metadata-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>
|
||||
{{ partial "time-element.html" .Date }}
|
||||
</span>
|
||||
{{ end }}
|
||||
|
||||
|
Reference in New Issue
Block a user