mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-07-29 04:51:36 -05:00
Fix the modified date check for git
This commit is contained in:
@@ -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" }}
|
||||||
|
Reference in New Issue
Block a user