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/list.html | 18 ++++++++++++++++++ themes/hugo-classic/layouts/_default/single.html | 23 +++++++++++++++++++++++ themes/hugo-classic/layouts/_default/terms.html | 16 ++++++++++++++++ 3 files changed, 57 insertions(+) create mode 100644 themes/hugo-classic/layouts/_default/list.html create mode 100644 themes/hugo-classic/layouts/_default/single.html create mode 100644 themes/hugo-classic/layouts/_default/terms.html (limited to 'themes/hugo-classic/layouts/_default') diff --git a/themes/hugo-classic/layouts/_default/list.html b/themes/hugo-classic/layouts/_default/list.html new file mode 100644 index 0000000..41d9d89 --- /dev/null +++ b/themes/hugo-classic/layouts/_default/list.html @@ -0,0 +1,18 @@ +{{ partial "header.html" . }} + +{{if not .IsHome }} +

{{ .Title }}

+{{ end }} + +{{ .Content }} + + + +{{ partial "footer.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" . }} diff --git a/themes/hugo-classic/layouts/_default/terms.html b/themes/hugo-classic/layouts/_default/terms.html new file mode 100644 index 0000000..4f6f544 --- /dev/null +++ b/themes/hugo-classic/layouts/_default/terms.html @@ -0,0 +1,16 @@ +{{ partial "header.html" . }} + +

{{ .Title }}

+ + + +{{ partial "footer.html" . }} -- cgit