diff --git a/config/_default/hugo.toml b/config/_default/hugo.toml index 2d735faaa1361c97278d7d60ceb7ebb7f9486bfb..8b98b1fb5f34932cc73d9d3a81d48e7d3bab569a 100644 --- a/config/_default/hugo.toml +++ b/config/_default/hugo.toml @@ -13,34 +13,10 @@ rssLimit = 10 summarylength = 20 # 70 (default) # Multilingual -defaultContentLanguage = "en" -disableLanguages = ["de", "nl"] +defaultContentLanguage = "fr" +#disableLanguages = ["de", "nl"] defaultContentLanguageInSubdir = false -copyRight = "Copyright (c) 2024 Tetras Libre SARL" - -defaultContentLanguage = "en" - -[languages] - [languages.fr] - disabled = false - languageCode = 'fr' - languageDirection = 'ltr' - languageName = 'Français' - title = 'Tetras Doks' - weight = 1 - [languages.fr.params] - subtitle = 'Bienvenue sur la documentation Tetras-libre !' - [languages.en] - disabled = false - languageCode = 'en' - languageDirection = 'ltr' - languageName = 'English' - title = 'Tetras Doks' - weight = 2 - [languages.en.params] - subtitle = 'Welcom to Tetras Libre documentation !' - - +copyRight = "Copyright (c) 2024 Tetras Libre" [build.buildStats] diff --git a/config/_default/languages.toml b/config/_default/languages.toml index 23fb2b2d58cf9ec525ee52c227aa7a91b093ee25..abcbaaa655a30f29cd4fccabbb34a1b05ddd897a 100644 --- a/config/_default/languages.toml +++ b/config/_default/languages.toml @@ -1,32 +1,19 @@ +[fr] + languageName = "French" + weight = 1 + [fr.params] + languageISO = "FR" + languageTag = "fr-FR" + footer = 'Brought to you by <a class="text-muted" href="https://www.tetras-libre.fr/">Tétras Libre</a>' + #alertText = '<a class="alert-link stretched-link fw-normal" href="/blog/example-post/">Doks version 1.0 just shipped!</a>' + + [en] languageName = "English" - contentDir = "content/en" - weight = 10 + weight = 2 [en.params] languageISO = "EN" languageTag = "en-US" - footer = 'Brought to you by <a class="text-muted" href="https://gethyas.com/">Hyas</a>' - alertText = '<a class="alert-link stretched-link fw-normal" href="/blog/example-post/">Doks version 1.0 just shipped!</a>' - -[de] - languageName = "German" - contentDir = "content/de" - weight = 15 - [de.params] - languageISO = "DE" - languageTag = "de-DE" - footer = 'Gebaut mit <a class="text-muted" href="https://gethyas.com/">Hyas</a>' - alertText = 'Neue Version ist da! <a class="alert-link stretched-link" href="https://getdoks.org/blog/doks-v0.5/">Doks v0.5</a>' + footer = 'Brought to you by <a class="text-muted" href="https://www.tetras-libre.fr/">Tétras Libre</a>' + #alertText = '<a class="alert-link stretched-link fw-normal" href="/blog/example-post/">Doks version 1.0 just shipped!</a>' -[nl] - languageName = "Nederlands" - contentDir = "content/nl" - weight = 20 - [nl.params] - languageISO = "NL" - languageTag = "nl-NL" - titleAddition = "Modern documentatie-thema" - description = "Doks is een Hugo-thema waarmee je moderne documentatie-websites kunt bouwen die veilig, snel en klaar voor SEO zijn — standaard." - titleHome = "Doks thema" - footer = 'Mogelijk gemaakt door <a href="https://www.netlify.com/">Netlify</a>, <a href="https://gohugo.io/">Hugo</a>, en <a href="https://getdoks.org/">Doks</a>' - alertText = 'Introductie van het Doks-kinderthema, verschillende DX + UX-updates en meer! <a class="alert-link stretched-link" href="https://getdoks.org/blog/doks-v0.2/">Bekijk Doks v0.2</a>'