File tree Expand file tree Collapse file tree 5 files changed +19
-16
lines changed
Expand file tree Collapse file tree 5 files changed +19
-16
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ require (
1717 github.com/gethinode/mod-lottie/v2 v2.0.0 // indirect
1818 github.com/gethinode/mod-mermaid/v3 v3.0.1 // indirect
1919 github.com/gethinode/mod-simple-datatables/v3 v3.0.0 // indirect
20- github.com/gethinode/mod-utils/v5 v5.4.2 // indirect
20+ github.com/gethinode/mod-utils/v5 v5.5.0 // indirect
2121 github.com/nextapps-de/flexsearch v0.0.0-20250907103239-defb38b083f0 // indirect
2222 github.com/twbs/bootstrap v5.3.8+incompatible // indirect
2323)
Original file line number Diff line number Diff line change @@ -42,6 +42,8 @@ github.com/gethinode/mod-utils/v5 v5.4.1 h1:iaQ8RTvK9p0JevaDW0c84fl/arDnDe2hu8Fm
4242github.com/gethinode/mod-utils/v5 v5.4.1 /go.mod h1:PwQN4oOjA6k/vet11JueJ9asZMgL0DBa3jyS9tPkBWU =
4343github.com/gethinode/mod-utils/v5 v5.4.2 h1:/FSQ8yJ8rQaRDiA0sgcrrZX/asaFjjJMNap2pvQKZFk =
4444github.com/gethinode/mod-utils/v5 v5.4.2 /go.mod h1:PwQN4oOjA6k/vet11JueJ9asZMgL0DBa3jyS9tPkBWU =
45+ github.com/gethinode/mod-utils/v5 v5.5.0 h1:codE7hGNoORJ6GDOuFDXMDqQjw7yX89lfVHADEWacBs =
46+ github.com/gethinode/mod-utils/v5 v5.5.0 /go.mod h1:PwQN4oOjA6k/vet11JueJ9asZMgL0DBa3jyS9tPkBWU =
4547github.com/nextapps-de/flexsearch v0.0.0-20250907103239-defb38b083f0 h1:55phPhe6fDjfjG0jX4+br3nLORKgjgx8abZUdI0YJRA =
4648github.com/nextapps-de/flexsearch v0.0.0-20250907103239-defb38b083f0 /go.mod h1:5GdMfPAXzbA2gXBqTjC6l27kioSYzHlqDMh0+wyx7sU =
4749github.com/twbs/bootstrap v5.3.8+incompatible h1:eK1fsXP7R/FWFt+sSNmmvUH9usPocf240nWVw7Dh02o =
Original file line number Diff line number Diff line change 2020{{ end }}
2121
2222{{/* Initialize global variables */}}
23- {{ $arrangement := site.Params.modules.bookshop.title.arrangement }}
24- {{ if eq $args.order "first" }}{{ $arrangement = "above" }}{{ end }}
2523{{- $padding := partial "utilities/GetPadding.html" -}}
2624
2725{{/* Initialize local variables */}}
26+ {{ $arrangement := or $args.heading.arrangement .Params.modules.bookshop.title.arrangement "above" }}
2827{{ $align := $args.align }}
2928{{ $class := $args.class | default "" }}
3029{{ $scale := "" }}
Original file line number Diff line number Diff line change 77 {{ $error = true }}
88{{- end -}}
99{{- if site.Params.main.build.silenceDeprecations -}}
10- {{- $silence = (slice "import" "color-functions" "global-builtin") -}}
10+ {{- $silence = (slice "import" "color-functions" "global-builtin" "if-function" "legacy-js-api" ) -}}
1111{{- end -}}
1212
1313{{- $absoluteURL := site.Params.main.canonifyAssetsURLs | default false -}}
Original file line number Diff line number Diff line change 1010 {{- $result := partial "utilities/GetContact" (dict "contact" . "data" $section "language-tag" site.Language.Lang) -}}
1111 {{- with $result -}}
1212 {{- with .RelPermalink }}{{ $link = . }}{{ end -}}
13- {{- end -}}
1413
15- {{- partial "assets/contact.html" (dict
16- "page" $page
17- "heading" (dict "title" $title "content" (T "contactBody" $contact) "size" 5 "align" $align)
18- "background" (dict "color" "light")
19- "order" "first"
20- "orientation" $orientation
21- "class" "contact-img"
22- "contact" .
23- "links" (slice (dict "title" (T "contactAction") "url" $link "icon" "fas chevron-right"))
24- "data" site.Params.modules.bookshop.cta.section
25- ) }}
14+ {{- partial "assets/contact.html" (dict
15+ "page" $page
16+ "heading" (dict "title" $title "content" (T "contactBody" $contact) "size" 5 "align" $align)
17+ "background" (dict "color" "light")
18+ "order" "first"
19+ "orientation" $orientation
20+ "class" "contact-img"
21+ "contact" $contact
22+ "links" (slice (dict "title" (T "contactAction") "url" $link "icon" "fas chevron-right"))
23+ "data" site.Params.modules.bookshop.cta.section
24+ ) }}
25+ {{ else }}
26+ {{ warnf "Cannot find contact %q on page %q" $contact $page.RelPermalink }}
27+ {{- end -}}
2628{{ end -}}
You can’t perform that action at this time.
0 commit comments