Fix the modified date check for git
This commit is contained in:
parent
3f98073aea
commit
8af0ad6d16
|
@ -8,7 +8,12 @@
|
|||
</time>
|
||||
</span>
|
||||
|
||||
{{ if not .Site.Params.repoURL }}
|
||||
{{ $gitinfo := false }}
|
||||
{{ with .GitInfo }}
|
||||
{{ $gitinfo = true }}
|
||||
{{ end }}
|
||||
|
||||
{{ if not $gitinfo }}
|
||||
{{ if ne .Lastmod .Date }}
|
||||
<span class="post-meta-item">
|
||||
{{ partial "icon.html" "pencil" }}
|
||||
|
|
Loading…
Reference in New Issue