mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-11-17 13:25:57 -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 {
|
.post-meta-item {
|
||||||
margin-right: 5px;
|
margin-right: 10px;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -6,16 +6,19 @@
|
|||||||
<time datetime="{{ .Date.Format "January 2, 2006" }}" pubdate>
|
<time datetime="{{ .Date.Format "January 2, 2006" }}" pubdate>
|
||||||
{{ .Date.Format "January 2, 2006" }}
|
{{ .Date.Format "January 2, 2006" }}
|
||||||
</time>
|
</time>
|
||||||
|
</span>
|
||||||
|
|
||||||
{{ if ne .Lastmod .Date }}
|
{{ if not .Site.Params.repoURL }}
|
||||||
|
{{ if ne .Lastmod .Date }}
|
||||||
|
<span class="post-meta-item">
|
||||||
{{ partial "icon.html" "edit-2" }}
|
{{ partial "icon.html" "edit-2" }}
|
||||||
<time datetime="{{ .Lastmod.Format "2006-01-02" }}" pubdate>
|
<time datetime="{{ .Lastmod.Format "2006-01-02" }}" pubdate>
|
||||||
{{ .Lastmod.Format "January 2, 2006" }}
|
{{ .Lastmod.Format "January 2, 2006" }}
|
||||||
</time>
|
</time>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ end }}
|
|
||||||
</span>
|
</span>
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
{{ if .Site.Params.wordcount }}
|
{{ if .Site.Params.wordcount }}
|
||||||
<span class="post-meta-item">
|
<span class="post-meta-item">
|
||||||
@ -31,6 +34,7 @@
|
|||||||
</span>
|
</span>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
{{ if .Site.Params.repoURL }}
|
||||||
{{ with .GitInfo }}
|
{{ with .GitInfo }}
|
||||||
<span class="post-meta-item">
|
<span class="post-meta-item">
|
||||||
{{ partial "icon.html" "git-commit" }}
|
{{ partial "icon.html" "git-commit" }}
|
||||||
@ -39,6 +43,7 @@
|
|||||||
</a>
|
</a>
|
||||||
</span>
|
</span>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
<div class="tags">
|
<div class="tags">
|
||||||
{{ range (.GetTerms "tags") }}
|
{{ range (.GetTerms "tags") }}
|
||||||
|
Loading…
Reference in New Issue
Block a user