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 }} -
+
{{ end }} {{ end }}