From a78380049fca7eb6de32d60898463943731cae77 Mon Sep 17 00:00:00 2001 From: jaseg Date: Mon, 21 May 2018 13:21:26 +0200 Subject: Vendor heavily modified theme --- themes/hugo-classic/layouts/_default/single.html | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 themes/hugo-classic/layouts/_default/single.html (limited to 'themes/hugo-classic/layouts/_default/single.html') diff --git a/themes/hugo-classic/layouts/_default/single.html b/themes/hugo-classic/layouts/_default/single.html new file mode 100644 index 0000000..b3b5570 --- /dev/null +++ b/themes/hugo-classic/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