mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-11-17 05:15:58 -06:00
Don't show empty post-metadata div
This commit is contained in:
parent
0067109d4a
commit
cd4bfc40a2
@ -15,6 +15,7 @@
|
||||
<a href="{{ .Permalink }}">{{ .Title | markdownify }}</a>
|
||||
</h2>
|
||||
|
||||
{{ if or .Date (.GetTerms "tags") }}
|
||||
<div class="post-metadata">
|
||||
{{ if .Date }}
|
||||
<time datetime="{{ .Date.Format "January 2, 2006" }}" pubdate>
|
||||
@ -33,6 +34,7 @@
|
||||
{{ end }}
|
||||
</span>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
<div class="post-description">
|
||||
{{ if .Description }}
|
||||
|
Loading…
Reference in New Issue
Block a user