From 551de0c6f18d145848586b8cc1b55f2788edff23 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Mon, 5 Dec 2022 13:31:54 -0500 Subject: template fix --- layouts/_default/baseof.html | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) (limited to 'layouts/_default/baseof.html') diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index a299bc0..6a1b6ff 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -19,18 +19,32 @@

{{ with .Params.icon }}{{ end }}{{ .Title }}

{{ with .Params.img }}{{ end }} -{{ block "main" . }} +{{ block "main" . -}} {{ .Content }} -{{ end }} -{{ if .Param "nextprev" }}{{ partial "nextprev.html" . -}}{{ end -}} -{{ if .Param "taglist" }}{{ partial "taglist.html" . }}{{ end -}} +{{- end -}}
+{{- if in .Params.tags "basic" -}} +{{ with .NextInSection }} + +{{- end }} +{{- with .PrevInSection }} +Or Previous: {{ .Title }} +{{- end -}} +{{- end }} +{{ if in .Params.tags "mail" -}} +{{ with .NextInSection -}} + +{{- end -}} +{{- with .PrevInSection }} +Or Previous: {{ .Title }} +{{- end -}} +{{- end }}
-{{ block "footer" . }} +{{ block "footer" . -}} -{{ end }} +{{- end }} -- cgit v1.2.3