Deutsche menuestruktur implementiert

This commit is contained in:
Andreas Hnida 2024-02-15 08:26:15 +00:00
commit 3c4fb2efb9
21 changed files with 681 additions and 8 deletions

View file

@ -1,6 +1,20 @@
################ German language ##################
[de]
languageName = "Deutsch"
languageCode = "de-DE"
contentDir = "content/german"
weight = 1
################ French language ##################
[fr]
languageName = "Français"
languageCode = "fr-FR"
contentDir = "content/french"
weight = 2
################ English language ##################
[en]
languageName = "En"
languageCode = "en-us"
languageName = "English"
languageCode = "en-GB"
contentDir = "content/english"
weight = 1
weight = 3

112
config/_default/menus.de.toml Executable file
View file

@ -0,0 +1,112 @@
############# English navigation ##############
# main menu
[[main]]
name = "Dienstleistung"
url = "/"
weight = 1
hasChildren = true
[[main]]
name = "Ambulante Pflege"
url = "ambulante-pflege/"
parent = "Dienstleistung"
weight = 1
[[main]]
name = "Elektronische Abrechnung"
url = "elektronische-abrechnung/"
parent = "Dienstleistung"
weight = 2
[[main]]
name = "Kantonale Vorgaben"
url = "kantonale-vorgaben/"
parent = "Dienstleistung"
weight = 3
[[main]]
name = "Preisliste"
url = "preisliste/"
hasChildren = true
weight = 2
[[main]]
parent = "Preisliste"
name = "Freiberufliche"
url = "preisliste/freiberufliche/"
weight = 1
[[main]]
parent = "Preisliste"
name = "Organisationen"
url = "preisliste/organisationen/"
weight = 2
[[main]]
parent = "Preisliste"
name = "Weitere Dienstleistungen"
url = "preisliste/weitere-dienstleistungen/"
weight = 3
[[main]]
name = "Bestellung"
hasChildren = true
weight = 3
[[main]]
parent = "Bestellung"
name = "Online Testversion"
url = "bestellung/online-testversion/"
weight = 1
[[main]]
parent = "Bestellung"
name = "Freiberufliche"
identifier = "bestellung-freiberufliche"
url = "bestellung/freiberufliche/"
weight = 2
[[main]]
parent = "Bestellung"
name = "Zusatzmodule Freiberufliche"
url = "bestellung/zusatzmodule-freiberufliche/"
weight = 3
[[main]]
parent = "Bestellung"
name = "Organisationen"
identifier = "bestellung-organisationen"
url = "bestellung/organisationen/"
weight = 4
[[main]]
parent = "Bestellung"
name = "Zusatzmodule Organisationen"
url = "bestellung/zusatzmodule-organisationen/"
weight = 5
[[main]]
name = "Aktuelles"
url = "blog/"
weight = 4
[[main]]
name = "Kontakt"
url = "contact/"
# footer menu
# [[footer]]
# name = "About"
# url = "about/"
# weight = 1
# [[footer]]
# name = "Elements"
# url = "elements/"
# weight = 2
# [[footer]]
# name = "Privacy Policy"
# url = "privacy-policy/"
# weight = 3

View file

@ -4,6 +4,7 @@ min = "0.115.2"
# [[imports]]
# path = "github.com/zeon-studio/hugoplate"
# TODO Decide which modules to use
[[imports]]
path = "github.com/gethugothemes/hugo-modules/search"

View file

@ -5,8 +5,8 @@ favicon = "images/verua_fav.png"
logo = "images/verua_logo_klein-k.png"
# use `px` or `x` with logo_width, example: "100px".
# Note: logo_width is not work with .svg file
logo_width = "100px"
logo_height = "32px"
logo_width = "90px"
# logo_height = "32px"
# if logo_webp set false, will not generate WEBP version of logo | default is true
logo_webp = true
# logo text will only show when logo is missing.
@ -26,7 +26,7 @@ google_adsense = "" # example: ca-pub-xxxxxxxxxxxxxxxx
# custom script on header, example: custom_script= "<script>console.log(\"Hello World\")</script>"
custom_script = ""
# copyright
copyright = "Designed & Developed by [Zeon Studio](https://zeon.studio)"
copyright = "Designed & Developed by [Andreas Hnida](https://andreashnida.de) | Powered by [Hugo](https://gohugo.io) | Based on [Hugoplate](https://github.com/zeon-studio/hugoplate)"
# Preloader
# preloader module: https://github.com/gethugothemes/hugo-modules/tree/master/components/preloader
@ -36,7 +36,7 @@ preloader = "" # use jpg, png, svg or gif format.
# Navigation button
[navigation_button]
enable = true
enable = false
label = "get a quote"
link = "contact"