From aad78f1f41ebd9ef57de8894c0c49c8fd7abb6ec Mon Sep 17 00:00:00 2001 From: Denys Konovalov Date: Sat, 23 Sep 2023 22:40:36 +0200 Subject: [PATCH] finetune pagefind search options --- layouts/_default/single.html | 2 +- layouts/abiturienten/single.html | 2 +- layouts/about/list.html | 2 ++ layouts/alumninetzwerk/list.html | 2 +- layouts/anmeldeformular/list.html | 2 +- layouts/anmeldung/list.html | 2 +- layouts/author/list.html | 2 +- layouts/author/single.html | 2 ++ layouts/begabte/single.html | 2 ++ layouts/cantorfora/single.html | 2 +- layouts/cantorpreis/single.html | 2 +- layouts/forms/single.html | 2 +- layouts/ganztagsangebote/single.html | 2 ++ layouts/index.html | 4 ++++ layouts/kontakt/list.html | 2 ++ layouts/pages/single.html | 2 +- layouts/partials/pagefind.html | 0 layouts/projektwoche/single.html | 2 ++ layouts/schulchronik/single.html | 2 +- layouts/superhaufen/single.html | 2 ++ layouts/termine/list.html | 2 +- layouts/wettbewerbe/single.html | 2 ++ 22 files changed, 32 insertions(+), 12 deletions(-) create mode 100644 layouts/partials/pagefind.html diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 0a024531..21a7125b 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,6 +1,6 @@ {{ define "main" }} -
+
diff --git a/layouts/abiturienten/single.html b/layouts/abiturienten/single.html index 771c4a4b..eddfa198 100644 --- a/layouts/abiturienten/single.html +++ b/layouts/abiturienten/single.html @@ -1,6 +1,6 @@ {{ define "main" }} -
+
diff --git a/layouts/about/list.html b/layouts/about/list.html index 26ddbab3..fbc1a772 100644 --- a/layouts/about/list.html +++ b/layouts/about/list.html @@ -1,5 +1,6 @@ {{ define "main" }} +
{{ with .Params.image }} @@ -31,5 +32,6 @@ {{ end }} {{ partial "info" . }} +
{{ end }} diff --git a/layouts/alumninetzwerk/list.html b/layouts/alumninetzwerk/list.html index 697934c1..0574990e 100644 --- a/layouts/alumninetzwerk/list.html +++ b/layouts/alumninetzwerk/list.html @@ -1,6 +1,6 @@ {{ define "main" }} -
+
+
diff --git a/layouts/anmeldung/list.html b/layouts/anmeldung/list.html index dbe29120..6e4079e6 100644 --- a/layouts/anmeldung/list.html +++ b/layouts/anmeldung/list.html @@ -1,6 +1,6 @@ {{ define "main" }} -
+
{{ .Content }} diff --git a/layouts/author/list.html b/layouts/author/list.html index 5ee51d4b..76d330b0 100644 --- a/layouts/author/list.html +++ b/layouts/author/list.html @@ -1,6 +1,6 @@ {{ define "main" }} -
+
{{ range .Pages }}
diff --git a/layouts/author/single.html b/layouts/author/single.html index e9e23744..fc09fe53 100644 --- a/layouts/author/single.html +++ b/layouts/author/single.html @@ -1,5 +1,6 @@ {{ define "main" }} +
@@ -33,5 +34,6 @@
+
{{ end }} diff --git a/layouts/begabte/single.html b/layouts/begabte/single.html index d81be7c8..15f0a746 100644 --- a/layouts/begabte/single.html +++ b/layouts/begabte/single.html @@ -1,5 +1,6 @@ {{ define "main" }} +
{{ partial "header-contest" . }}
@@ -12,5 +13,6 @@
+ {{ end }} diff --git a/layouts/cantorfora/single.html b/layouts/cantorfora/single.html index e6d493fb..bc653278 100644 --- a/layouts/cantorfora/single.html +++ b/layouts/cantorfora/single.html @@ -1,6 +1,6 @@ {{ define "main" }} -
+
diff --git a/layouts/cantorpreis/single.html b/layouts/cantorpreis/single.html index 5e00df8e..34e92176 100644 --- a/layouts/cantorpreis/single.html +++ b/layouts/cantorpreis/single.html @@ -1,6 +1,6 @@ {{ define "main" }} -
+
diff --git a/layouts/forms/single.html b/layouts/forms/single.html index 01338d17..8e67c518 100644 --- a/layouts/forms/single.html +++ b/layouts/forms/single.html @@ -1,6 +1,6 @@ {{ define "main" }} -
+

{{ .Title }}

diff --git a/layouts/ganztagsangebote/single.html b/layouts/ganztagsangebote/single.html index b00918f6..6391c293 100644 --- a/layouts/ganztagsangebote/single.html +++ b/layouts/ganztagsangebote/single.html @@ -1,5 +1,6 @@ {{ define "main" }} +
@@ -29,5 +30,6 @@
+ {{ end }} diff --git a/layouts/index.html b/layouts/index.html index cf8c2e85..8f9a2358 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,5 +1,7 @@ {{ define "main" }} +
+ {{ $data := .Site.Data }} {{ if $data.homepage.slider.enable }} @@ -287,4 +289,6 @@ {{ end }} {{ end }} +
+ {{ end }} diff --git a/layouts/kontakt/list.html b/layouts/kontakt/list.html index 3ab7b970..05d5b5ea 100644 --- a/layouts/kontakt/list.html +++ b/layouts/kontakt/list.html @@ -4,6 +4,7 @@ +
@@ -61,5 +62,6 @@ });
+
{{ end }} diff --git a/layouts/pages/single.html b/layouts/pages/single.html index 289b95ab..34d44ad5 100644 --- a/layouts/pages/single.html +++ b/layouts/pages/single.html @@ -1,6 +1,6 @@ {{ define "main" }} -
+
{{ .Content }} diff --git a/layouts/partials/pagefind.html b/layouts/partials/pagefind.html new file mode 100644 index 00000000..e69de29b diff --git a/layouts/projektwoche/single.html b/layouts/projektwoche/single.html index a50442c2..8399c557 100644 --- a/layouts/projektwoche/single.html +++ b/layouts/projektwoche/single.html @@ -1,5 +1,7 @@ {{ define "main" }} +
{{ partial "tile-modals" . }} +
{{ end }} \ No newline at end of file diff --git a/layouts/schulchronik/single.html b/layouts/schulchronik/single.html index 630a1272..71f243bf 100644 --- a/layouts/schulchronik/single.html +++ b/layouts/schulchronik/single.html @@ -1,6 +1,6 @@ {{ define "main" }} -
+
{{ if or .Params.cantorpreisträger (where (where .Site.RegularPages "Title" (print "Abiturienten " .Params.Title ) ) "Type" "=" "abiturienten") }} diff --git a/layouts/superhaufen/single.html b/layouts/superhaufen/single.html index a50442c2..8399c557 100644 --- a/layouts/superhaufen/single.html +++ b/layouts/superhaufen/single.html @@ -1,5 +1,7 @@ {{ define "main" }} +
{{ partial "tile-modals" . }} +
{{ end }} \ No newline at end of file diff --git a/layouts/termine/list.html b/layouts/termine/list.html index 9595ee37..dabb22eb 100644 --- a/layouts/termine/list.html +++ b/layouts/termine/list.html @@ -1,6 +1,6 @@ {{ define "main" }} -
+
  • Alle
  • diff --git a/layouts/wettbewerbe/single.html b/layouts/wettbewerbe/single.html index 99dd44af..7ccc0967 100644 --- a/layouts/wettbewerbe/single.html +++ b/layouts/wettbewerbe/single.html @@ -1,5 +1,6 @@ {{ define "main" }} +
    {{ partial "header-contest" . }}
    @@ -14,5 +15,6 @@
+ {{ end }}