Skip to content

Commit

Permalink
feat(config): translated menu and some config improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
Lino committed Apr 20, 2024
1 parent 450aff5 commit ee37940
Showing 1 changed file with 87 additions and 41 deletions.
128 changes: 87 additions & 41 deletions hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,69 +3,115 @@ languageCode = 'de'

baseURL = "https://berlin.freifunk.net"

[module]
replacements = "github.com/colinwilson/lotusdocs -> lotusdocs"
[[module.imports]]
path = "github.com/colinwilson/lotusdocs"
disable = false
[[module.imports]]
path = "github.com/gohugoio/hugo-mod-bootstrap-scss/v5"
disable = false

defaultContentLanguage = "de"
defaultContentLanguageInSubdir = true

SectionPagesMenu = "main"
enableRobotsTXT = true

timeout = "120s"

disableKinds = ['taxonomy', 'term']

[module]
replacements = "github.com/colinwilson/lotusdocs -> lotusdocs"
[[module.imports]]
path = "github.com/colinwilson/lotusdocs"
disable = false
[[module.imports]]
path = "github.com/gohugoio/hugo-mod-bootstrap-scss/v5"
disable = false

[languages]
[languages.de]
weight = 1
weight = 1
languageName = "Deutsch"
languageCode = "de"
title = "Freifunk Berlin"
title = "Freifunk Berlin"
[languages.de.menus]
[[languages.de.menus.primary]]
name = 'Mitmachen'
url = "participate"
weight = 10
[[languages.de.menus.primary]]
name = 'Netzkarte'
url = 'map'
weight = 20
[[languages.de.menus.primary]]
name = 'Spenden'
url = 'donate'
weight = 30
[[languages.de.menus.primary]]
name = 'Wiki'
url = 'wiki'
weight = 40
[[languages.de.menus.primary]]
name = 'Downloads'
url = 'downloads'
weight = 50
[[languages.de.menus.primary]]
name = 'FAQ'
url = 'https://wiki.freifunk.net/Berlin:FAQ'
weight = 60
[[languages.de.menus.primary]]
name = 'Kontakt'
url = 'contact'
weight = 70
[[languages.de.menus.primary]]
name = 'freifunk.net'
url = 'https://freifunk.net/'
weight = 80
[languages.en]
weight = 2
languageName = "English"
languageCode = "en"
title = "Freifunk Berlin"
[languages.en.menus]
[[languages.en.menus.primary]]
name = 'Participate'
url = "participate"
weight = 10
[[languages.en.menus.primary]]
name = 'Map'
url = 'map'
weight = 20
[[languages.en.menus.primary]]
name = 'Donate'
url = 'donate'
weight = 30
[[languages.en.menus.primary]]
name = 'Wiki'
url = 'wiki'
weight = 40
[[languages.en.menus.primary]]
name = 'Downloads'
url = 'downloads'
weight = 50
[[languages.en.menus.primary]]
name = 'FAQ'
url = 'https://wiki.freifunk.net/Berlin:FAQ'
weight = 60
[[languages.en.menus.primary]]
name = 'Contact'
url = 'contact'
weight = 70
[[languages.en.menus.primary]]
name = 'freifunk.net'
url = 'https://freifunk.net/'
weight = 80

[sitemap]
filename = "sitemap.xml"

[params.docs]
themeColor = "red"

[markup.goldmark.renderer]
unsafe = true

[menu]
[[menu.primary]]
name = "Docs"
url = "docs/"
identifier = "docs"
weight = 10

[[menu.primary]]
name = "Showcase"
url = "/showcase"
identifier = "showcase"
weight = 20

[[menu.primary]]
name = "Community"
url = "https://github.com/colinwilson/lotusdocs/discussions"
identifier = "community"
weight = 30

[params.footer]
copyright = "This work is licensed under [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/) | [Imprint](/impressum)"
version = true

[params.social]
github = "freifunk-berlin/"
twitter = "freifunk_berlin"
[params]
sans_serif_font = "Arial"
secondary_font = "Arial"
mono_font = "Courier New"
[params.footer]
copyright = "This work is licensed under [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/) | [Imprint](/impressum)"
version = true
[params.social]
github = "freifunk-berlin"
twitter = "freifunk_berlin"

0 comments on commit ee37940

Please sign in to comment.