From 568553394d0a8b34668a75c9839a0f1f426469b2 Mon Sep 17 00:00:00 2001 From: Dimitri Staessens Date: Sun, 6 Oct 2019 21:10:46 +0200 Subject: theme: Switch to docsy theme --- themes/ananke/layouts/_default/single.html | 55 ------------------------------ 1 file changed, 55 deletions(-) delete mode 100755 themes/ananke/layouts/_default/single.html (limited to 'themes/ananke/layouts/_default/single.html') diff --git a/themes/ananke/layouts/_default/single.html b/themes/ananke/layouts/_default/single.html deleted file mode 100755 index fde3f74..0000000 --- a/themes/ananke/layouts/_default/single.html +++ /dev/null @@ -1,55 +0,0 @@ -{{ define "header" }} - {{/* We can override any block in the baseof file be defining it in the template */}} - {{ partial "page-header.html" . }} -{{ end }} - -{{ define "main" }} - {{ $section := .Site.GetPage "section" .Section }} -
- -
-

- {{/* - CurrentSection allows us to use the section title instead of inferring from the folder. - https://gohugo.io/variables/page/#section-variables-and-methods - */}} - {{with .CurrentSection.Title }}{{. | upper }}{{end}} -

-

- {{- .Title -}} -

- {{/* Hugo uses Go's date formatting is set by example. Here are two formats */}} - - {{/* - Show "reading time" and "word count" but only if one of the following are true: - 1) A global config `params` value is set `show_reading_time = true` - 2) A section front matter value is set `show_reading_time = true` - 3) A page front matter value is set `show_reading_time = true` - */}} - {{ if (or (eq (.Param "show_reading_time") true) (eq $section.Params.show_reading_time true) )}} - - {{ .ReadingTime}} minutes read - - {{ .WordCount}} words - {{ end }} -
- - - - - -
-{{ end }} -- cgit v1.2.3