From 4347dd5b3a9f283716a8b8b66407e0f76416fe47 Mon Sep 17 00:00:00 2001 From: Mark Dumay <61946753+markdumay@users.noreply.github.com> Date: Sat, 28 Mar 2026 13:08:08 +0100 Subject: [PATCH] fix: refine separator layout --- component-library/components/separator/separator.hugo.html | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/component-library/components/separator/separator.hugo.html b/component-library/components/separator/separator.hugo.html index f2a760b..e447536 100644 --- a/component-library/components/separator/separator.hugo.html +++ b/component-library/components/separator/separator.hugo.html @@ -8,7 +8,6 @@ {{ $error := false }} {{ $id := .id }} {{ $clear := .clear }} -{{ $class := .section_class }} {{ if not site.Params.env_bookshop_live }} {{ $args := partial "utilities/InitArgs.html" (dict "bookshop" "separator" "args" .) }} {{ if or $args.err $args.warnmsg }} @@ -23,15 +22,14 @@ {{ else }} {{ $id = $args.id }} {{ $clear = $args.clear }} - {{ $class = $args.section_class }} {{- end -}} {{- end -}} {{ if not $error }} {{ if $clear }} {{- $padding := partial "utilities/GetPadding.html" -}} -
+ {{ else }} -