mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-12-22 12:13:19 -06:00
Fix the modified date check for git
This commit is contained in:
parent
3f98073aea
commit
8af0ad6d16
@ -8,7 +8,12 @@
|
|||||||
</time>
|
</time>
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
{{ if not .Site.Params.repoURL }}
|
{{ $gitinfo := false }}
|
||||||
|
{{ with .GitInfo }}
|
||||||
|
{{ $gitinfo = true }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{ if not $gitinfo }}
|
||||||
{{ if ne .Lastmod .Date }}
|
{{ if ne .Lastmod .Date }}
|
||||||
<span class="post-meta-item">
|
<span class="post-meta-item">
|
||||||
{{ partial "icon.html" "pencil" }}
|
{{ partial "icon.html" "pencil" }}
|
||||||
|
Loading…
Reference in New Issue
Block a user