From 3cec19c749eda2cf98f7c4c70116d0db87da9a3b Mon Sep 17 00:00:00 2001 From: syui Date: Sat, 18 May 2024 02:18:28 +0900 Subject: [PATCH] fix --- layouts/_default/single.html | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 77d4d462..e1fb2aff 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -4,7 +4,22 @@
- {{ if ne .Lastmod .Date }}
{{ .Lastmod.Format "2006-01-02" }}
{{ end }} +
+ {{ if ne .Lastmod .Date }} +

{{ .Lastmod.Format "2006-01-02" }}

+ {{ end }} + {{ $taxo := "tags" }} + {{ with .Param $taxo }} +

{{ if gt (len .) 1 }}{{ end }} + {{ range $index, $director := . }} + {{- if gt $index 0 }}, {{ end -}} + {{ with $.Site.GetPage (printf "/%s/%s" $taxo $director) -}} + {{ $director }} + {{ end }} + {{ end }} + {{ end }} +

+

{{ .Title }}

{{ .Content }}