mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-12-22 12:13:19 -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") }}
|
{{ if or .GitInfo .Date (.GetTerms "tags") }}
|
||||||
<div class="post-metadata">
|
<div class="post-metadata">
|
||||||
{{ if .Date }}
|
{{ if .Date }}
|
||||||
|
|
||||||
<span class="post-meta-item">
|
<span class="post-meta-item">
|
||||||
{{ partial "icon.html" "calendar" }}
|
{{ partial "icon.html" "calendar" }}
|
||||||
<time datetime="{{ .Date.Format "January 2, 2006" }}" pubdate>
|
<time datetime="{{ .Date.Format "January 2, 2006" }}" pubdate>
|
||||||
@ -9,8 +8,9 @@
|
|||||||
</time>
|
</time>
|
||||||
|
|
||||||
{{ if ne .Lastmod .Date }}
|
{{ if ne .Lastmod .Date }}
|
||||||
|
{{ partial "icon.html" "edit-2" }}
|
||||||
<time datetime="{{ .Lastmod.Format "2006-01-02" }}" pubdate>
|
<time datetime="{{ .Lastmod.Format "2006-01-02" }}" pubdate>
|
||||||
(Modified {{ .Lastmod.Format "January 2, 2006" }})
|
{{ .Lastmod.Format "January 2, 2006" }}
|
||||||
</time>
|
</time>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user