commit 32df60e80183dc0f6c0c3be26c990fc5c9a3f385
parent 9726b8d80658c6cf3c092c21484548aba6f64a68
Author: Thunder33345 <Thunder33345@users.noreply.github.com>
Date: Sun, 30 Apr 2023 21:34:08 +0800
moved `::` decoration position
this hides it if there's no post author to show
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
@@ -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>