From 9104c84a906f79611109565f01d26425f224cf9b Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Wed, 3 Jul 2024 16:14:56 -0700 Subject: simplify the layout Get rid of the navigation bar, remove a number of elements, put more things on the main page. Clean up the CSS. --- layouts/_default/single.html | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) (limited to 'layouts/_default/single.html') diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 4312eec..a360c93 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -17,36 +17,14 @@ {{ else }} posted on {{ $pub }} - last modified {{ $mod }} {{ end }} - {{ if .Params.tags }} - {{ if eq (len .Params.tags) 1 }} - with tag: - {{ else }} - with tags: - {{ end }} - {{ range $idx, $tag := .Params.tags }} - {{ $tag }} - {{ end }} - {{ end }} -{{ if .Params.toc }} -
- Table of contents - {{ .TableOfContents }} -
-{{ end }} -
{{ .Content }}
- +↑ back home -{{ if .Params.toc }} -
- Table of contents - {{ .TableOfContents }}
-{{ end }} {{ end }} -- cgit v1.2.3