From 25ea0cacc111877d55a39c8c089db91cfee340aa Mon Sep 17 00:00:00 2001 From: verdant Date: Sat, 6 Jun 2026 12:14:37 +0800 Subject: Use `cd ~` instead of `回到首页` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- layouts/_default/single.html | 43 +++++++++++++++++++++++-------------------- 1 file changed, 23 insertions(+), 20 deletions(-) (limited to 'layouts/_default/single.html') diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 2f71bdc..96b3bb0 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,32 +1,35 @@ {{ define "main" }}
- 回到首页 + cd ~

-
-
-

{{ .Title }}

-
- - {{ with .Params.categories }} - [ - {{- range $index, $cat := . -}} - {{- if $index }} · {{ end -}}{{ $cat }} - {{- end -}} - ] - {{ end }} -
-
+
+

{{ .Title }}

+ {{ if .Params.showMeta }} +
+ + {{ with .Params.categories }} + [ + {{- range $index, $cat := . -}} + {{- if $index }} · {{ end -}}{{ $cat }} + {{- end -}} + ] + {{ end }} +
+ {{ end }} +
-
- {{ .Content }} -
+
+ {{ .Content }} +

{{ end }} -- cgit v1.2.3