Put a span around post date in list pages

This commit is contained in:
BBaoVanC 2021-10-07 16:54:26 -05:00
parent 76b5f58674
commit 01e89e0249
Signed by: bbaovanc
GPG Key ID: 18089E4E3CCF1D3A

View File

@ -42,6 +42,7 @@
<div class="post-metadata">
{{ if .Date }}
<span class="date">
{{ partial "icon.html" "calendar" }}
<time datetime="{{ .Date.Format "January 2, 2006" }}" pubdate>
{{ .Date.Format "January 2, 2006" }}
@ -54,6 +55,7 @@
{{ end }}
{{ end }}
</span>
<span class="tags">
{{ range (.GetTerms "tags") }}