From 98b512fe646b5de3e3b4173f2f3c38e4f67e559b Mon Sep 17 00:00:00 2001 From: Reorx Date: Fri, 22 Apr 2022 00:28:30 +0800 Subject: move tags to the top; use ¶ for anchor symbol MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- layouts/_default/single.html | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) (limited to 'layouts/_default/single.html') diff --git a/layouts/_default/single.html b/layouts/_default/single.html index d313500..7f0d181 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -14,6 +14,20 @@ {{- end }} {{- if not (.Param "hideMeta") }}
+ {{- if not .Date.IsZero -}} + {{ .Date | time.Format (default "January 2, 2006" site.Params.DateFormat) }} +  ·  + {{- end }} + + {{- if .Params.tags }} + +  ·  + {{- end }} + {{- partial "post_meta.html" . -}} {{- partial "translation_list.html" . -}} {{- partial "edit_post.html" . -}} @@ -36,13 +50,6 @@ {{- end }}