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 }}