moved :: decoration position

this hides it if there's no post author to show
This commit is contained in:
Thunder33345 2023-04-30 21:34:08 +08:00
parent 9726b8d806
commit 32df60e801
No known key found for this signature in database
GPG Key ID: F02B0F022A819FCD

View File

@ -13,11 +13,11 @@
<div class="post-meta">
{{ if .Date }}
<time class="post-date">
{{ .Date.Format "2006-01-02" }} ::
{{ .Date.Format "2006-01-02" }}
</time>
{{ end }}
{{ with .Params.Author }}
<span class="post-author">{{ . }}</span>
:: <span class="post-author">{{ . }}</span>
{{ end }}
</div>