mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-11-17 13:25:57 -06:00
Change modified date to use an edit icon
This commit is contained in:
parent
b923054bd3
commit
c40be2bcd7
@ -1,7 +1,6 @@
|
||||
{{ if or .GitInfo .Date (.GetTerms "tags") }}
|
||||
<div class="post-metadata">
|
||||
{{ if .Date }}
|
||||
|
||||
<span class="post-meta-item">
|
||||
{{ partial "icon.html" "calendar" }}
|
||||
<time datetime="{{ .Date.Format "January 2, 2006" }}" pubdate>
|
||||
@ -9,8 +8,9 @@
|
||||
</time>
|
||||
|
||||
{{ if ne .Lastmod .Date }}
|
||||
{{ partial "icon.html" "edit-2" }}
|
||||
<time datetime="{{ .Lastmod.Format "2006-01-02" }}" pubdate>
|
||||
(Modified {{ .Lastmod.Format "January 2, 2006" }})
|
||||
{{ .Lastmod.Format "January 2, 2006" }}
|
||||
</time>
|
||||
{{ end }}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user