Refactor timeline to support bookshop component

This commit is contained in:
Mark Dumay
2025-06-04 07:17:33 +02:00
parent 2fb48b51f5
commit 494f203866
21 changed files with 357 additions and 207 deletions

View File

@@ -36,7 +36,9 @@
{{ with $background }}
{{/* warnf "bg: '%s'" . */}}
{{ $wrapper = partial "utilities/GetBackgroundStyle.html" (dict "background" . "class" $style) }}
{{ with $background.backdrop }}{{ $wrapper = "" }}{{ $backdrop = . }}{{ end }}
{{ if reflect.IsMap $background }}
{{ with $background.backdrop }}{{ $wrapper = "" }}{{ $backdrop = . }}{{ end }}
{{ end }}
{{ end }}
{{/* warnf "wrapper: '%s'" $wrapper */}}
{{- $theme := index $component_props "theme" -}}