mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-12-22 12:13:19 -06:00
Put a span around post date in list pages
This commit is contained in:
parent
76b5f58674
commit
01e89e0249
@ -42,18 +42,20 @@
|
|||||||
<div class="post-metadata">
|
<div class="post-metadata">
|
||||||
{{ if .Date }}
|
{{ if .Date }}
|
||||||
|
|
||||||
{{ partial "icon.html" "calendar" }}
|
<span class="date">
|
||||||
<time datetime="{{ .Date.Format "January 2, 2006" }}" pubdate>
|
{{ partial "icon.html" "calendar" }}
|
||||||
{{ .Date.Format "January 2, 2006" }}
|
<time datetime="{{ .Date.Format "January 2, 2006" }}" pubdate>
|
||||||
</time>
|
{{ .Date.Format "January 2, 2006" }}
|
||||||
|
</time>
|
||||||
|
|
||||||
{{ if ne .Lastmod .Date }}
|
{{ if ne .Lastmod .Date }}
|
||||||
<time datetime="{{ .Lastmod.Format "2006-01-02" }}" pubdate>
|
<time datetime="{{ .Lastmod.Format "2006-01-02" }}" pubdate>
|
||||||
(Modified {{ .Lastmod.Format "January 2, 2006" }})
|
(Modified {{ .Lastmod.Format "January 2, 2006" }})
|
||||||
</time>
|
</time>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
</span>
|
||||||
|
|
||||||
<span class="tags">
|
<span class="tags">
|
||||||
{{ range (.GetTerms "tags") }}
|
{{ range (.GetTerms "tags") }}
|
||||||
|
Loading…
Reference in New Issue
Block a user