From e7a91af6b5fffe7c9d845123c6c2fcfd73d9b02f Mon Sep 17 00:00:00 2001 From: jaseg Date: Thu, 25 Nov 2021 11:54:39 +0100 Subject: Update theme to show post list on top level again --- themes/blog.jaseg.de/layouts/_default/single.html | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 themes/blog.jaseg.de/layouts/_default/single.html (limited to 'themes/blog.jaseg.de/layouts/_default/single.html') diff --git a/themes/blog.jaseg.de/layouts/_default/single.html b/themes/blog.jaseg.de/layouts/_default/single.html new file mode 100644 index 0000000..b3b5570 --- /dev/null +++ b/themes/blog.jaseg.de/layouts/_default/single.html @@ -0,0 +1,23 @@ +{{ partial "header.html" . }} +
+

{{ .Title }}

+{{ with .Params.author }}

{{ . }}

{{ end }} +{{ if .Params.date }}

{{ .Date.Format "2006/01/02" }}

{{ end }} +

+ {{ range $i := (slice "categories" "tags") }} + {{ with ($.Param $i) }} + {{ $i | title }}: {{ range $k := . }}{{$k}} {{ end }} + {{ end }} + {{ end }} +

+
+ +{{ if .Params.toc }} +{{ .TableOfContents }} +{{ end }} + +
+{{ .Content }} +
+ +{{ partial "footer.html" . }} -- cgit