diff --git a/content/german/blog/neue-domiziladresse.md b/content/german/blog/neue-domiziladresse.md deleted file mode 100644 index adb6efc..0000000 --- a/content/german/blog/neue-domiziladresse.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -title: "Neue Domiziladresse ab dem 01.09.2023" -date: 2024-02-22T20:33:26Z -draft: false -tags: [] ---- diff --git a/content/german/blog/vorankuendigung-zusatzmodule-dienst-und-tourenplan.md b/content/german/blog/vorankuendigung-zusatzmodule-dienst-und-tourenplan.md deleted file mode 100644 index cdbedb7..0000000 --- a/content/german/blog/vorankuendigung-zusatzmodule-dienst-und-tourenplan.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -title: "Vorankuendigung Zusatzmodule Dienst Und Tourenplan zum 01.11.2022" -date: 2024-02-22T20:39:10Z -draft: false -tags: [] ---- diff --git a/content/german/sections/footer.md b/content/german/sections/footer.md index 5ec7768..5d693c8 100644 --- a/content/german/sections/footer.md +++ b/content/german/sections/footer.md @@ -35,10 +35,10 @@ support@verua.ch [Kontakt](https://link-url-here.org) ..column.. -[Datenschutzerklärung](https://link-url-here.org) +[Datenschutzerklärung](/datenschutzerklaerung) ..column.. -[Impressum](https://link-url-here.org) +[Impressum](/impressum) {{< /columns >}} diff --git a/themes/hugoplate/layouts/contact/list.html b/themes/hugoplate/layouts/_contact/list.html similarity index 100% rename from themes/hugoplate/layouts/contact/list.html rename to themes/hugoplate/layouts/_contact/list.html diff --git a/themes/hugoplate/layouts/_default/single.html b/themes/hugoplate/layouts/_default/single.html index 676cdaa..7337e9e 100755 --- a/themes/hugoplate/layouts/_default/single.html +++ b/themes/hugoplate/layouts/_default/single.html @@ -5,13 +5,17 @@ {{ if eq .Section "bestellung" }} - {{ $formularjs := resources.Get "js/bestellformular.js" | minify }} + +{{ else if eq .Params.kontaktformular true }} +{{ $formularjs := resources.Get "js/kontaktformular.js" | minify }} {{/* TODO Captcha rauswerfen, falls wir es nicht mehr brauchen */}} {{/* {{ $captchaSystemJS := resources.Get "vendor/captcha-system/js/main.js" | minify }} */}} {{/* {{ $captchaSystemCSS := resources.Get "vendor/captcha-system/css/main.css" | minify }} */}} + + {{/* */}} {{/* */}} diff --git a/themes/hugoplate/layouts/blog/list.html b/themes/hugoplate/layouts/blog/list.html index eb02b77..9015d94 100644 --- a/themes/hugoplate/layouts/blog/list.html +++ b/themes/hugoplate/layouts/blog/list.html @@ -1,23 +1,28 @@ {{ define "main" }} - -

Blog

+
+
+

Aktuelles

{{ range $index, $page := .Data.Pages }}

{{ end }}
- +
+
{{ end }} diff --git a/themes/hugoplate/layouts/index.html b/themes/hugoplate/layouts/index.html index dae83e8..0db1513 100755 --- a/themes/hugoplate/layouts/index.html +++ b/themes/hugoplate/layouts/index.html @@ -1,9 +1,9 @@ {{/* Home Template File */}} {{ define "main" }} -
+
-
+
{{ range $i, $e:= .Params.heroslider }}

diff --git a/themes/hugoplate/layouts/partials/components/language-switcher.html b/themes/hugoplate/layouts/partials/components/language-switcher.html index bbee9dd..fec5d49 100644 --- a/themes/hugoplate/layouts/partials/components/language-switcher.html +++ b/themes/hugoplate/layouts/partials/components/language-switcher.html @@ -1,28 +1,14 @@ - + +{{ $current := .Context }} {{ $class := .Class }} -{{ $context := .Context }} -{{ $pageLang := $context.Lang }} -{{ $base:= urls.Parse site.Home.Permalink }} -{{ $siteLanguages := site.Home.AllTranslations }} -{{ $pageLink := replace (replace $context.RelPermalink (add $pageLang "/") "") $base.Path "/" }} - -{{ if $context.IsTranslated }} +{{ if $current.IsTranslated }} {{ end }} diff --git a/themes/hugoplate/layouts/shortcodes/section.html b/themes/hugoplate/layouts/shortcodes/section.html index a470292..287b5d4 100644 --- a/themes/hugoplate/layouts/shortcodes/section.html +++ b/themes/hugoplate/layouts/shortcodes/section.html @@ -1,5 +1,5 @@ -
-
+
+
{{ .Inner }}
\ No newline at end of file