From c98f6ac59bfa8e8568699e403bac87d9972863c5 Mon Sep 17 00:00:00 2001 From: Marcell Mars Date: Tue, 18 May 2021 14:43:23 +0200 Subject: [PATCH] correctly close tags if more than one annex-like page in menu --- layouts/partials/singlebody.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/layouts/partials/singlebody.html b/layouts/partials/singlebody.html index 9075098..9e4eaf3 100644 --- a/layouts/partials/singlebody.html +++ b/layouts/partials/singlebody.html @@ -10,6 +10,7 @@ {{ $sandnamePlural := (slice) }} +
{{ substr $currentDir 0 -1 }}⁄{{ substr .Title 0 1 }}{{ substr .Title 1 }}
@@ -44,8 +45,8 @@
{{- end -}} {{ end }} + {{- with $closeDivs -}}{{ end }} {{ end }} - {{- with $closeDivs -}}{{ end }} {{ if in .Page.Site.Params.sandpointsMentionedIn (substr $currentDir 0 -1) }}