mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-12-22 12:13:19 -06:00
Don't show modified date if git commit is shown
It's redundant
This commit is contained in:
parent
476519c022
commit
ddbcaa6d56
@ -18,7 +18,7 @@
|
||||
}
|
||||
|
||||
.post-meta-item {
|
||||
margin-right: 5px;
|
||||
margin-right: 10px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
|
@ -6,16 +6,19 @@
|
||||
<time datetime="{{ .Date.Format "January 2, 2006" }}" pubdate>
|
||||
{{ .Date.Format "January 2, 2006" }}
|
||||
</time>
|
||||
</span>
|
||||
|
||||
{{ if not .Site.Params.repoURL }}
|
||||
{{ if ne .Lastmod .Date }}
|
||||
<span class="post-meta-item">
|
||||
{{ partial "icon.html" "edit-2" }}
|
||||
<time datetime="{{ .Lastmod.Format "2006-01-02" }}" pubdate>
|
||||
{{ .Lastmod.Format "January 2, 2006" }}
|
||||
</time>
|
||||
{{ end }}
|
||||
|
||||
{{ end }}
|
||||
</span>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
{{ if .Site.Params.wordcount }}
|
||||
<span class="post-meta-item">
|
||||
@ -31,6 +34,7 @@
|
||||
</span>
|
||||
{{ end }}
|
||||
|
||||
{{ if .Site.Params.repoURL }}
|
||||
{{ with .GitInfo }}
|
||||
<span class="post-meta-item">
|
||||
{{ partial "icon.html" "git-commit" }}
|
||||
@ -39,6 +43,7 @@
|
||||
</a>
|
||||
</span>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
<div class="tags">
|
||||
{{ range (.GetTerms "tags") }}
|
||||
|
Loading…
Reference in New Issue
Block a user