feat: Remove english language

This commit is contained in:
2023-05-18 22:55:17 +02:00
parent fc65d7deb6
commit ea05095b9e
60 changed files with 227 additions and 693 deletions

View File

@ -1,4 +1,4 @@
baseurl = "https://doks-child-theme.netlify.app/"
baseurl = "https://loi.re/"
canonifyURLs = false
disableAliases = true
disableHugoGeneratorInject = true
@ -10,7 +10,7 @@ rssLimit = 10
# Multilingual
defaultContentLanguage = "fr"
disableLanguages = ["en"]
#disableLanguages = ["en"]
# defaultContentLanguageInSubdir = true
# add redirects/headers

View File

@ -1,14 +1,6 @@
[en]
languageName = "English"
contentDir = "content/en"
weight = 10
[en.params]
languageISO = "EN"
languageTag = "en-US"
[fr]
languageName = "French"
contentDir = "content/fr"
contentDir = "content"
weight = 10
[fr.params]
languageISO = "FR"

View File

@ -1,83 +0,0 @@
[[docs]]
name = "Prologue"
weight = 10
identifier = "prologue"
url = "/docs/prologue/"
[[docs]]
name = "Help"
weight = 60
identifier = "help"
url = "/docs/help/"
# [[docs]]
# name = "Lorem"
# weight = 70
# identifier = "lorem"
# url = "/docs/lorem/"
[[guide]]
name = "Lorem"
weight = 10
identifier = "lorem"
url = "/guide/lorem/"
[[tutorial]]
name = "Lorem"
weight = 10
identifier = "lorem"
url = "/tutorial/lorem/"
[[main]]
name = "Docs"
url = "/docs/prologue/introduction/"
# url = "/docs/1.0/prologue/introduction/"
weight = 10
# [[main]]
# name = "Tutorial"
# url = "/tutorial/lorem/ipsum/"
# weight = 15
[[main]]
name = "Blog"
url = "/blog/"
weight = 20
[[main]]
name = "Get Started"
weight = 30
identifier = "get-started"
url = "/docs/prologue/introduction/"
[[main]]
name = "Quick Start"
weight = 40
identifier = "quick-start"
url = "/docs/prologue/quick-start/"
parent = "get-started"
[[main]]
name = "Tutorial"
weight = 50
identifier = "tutorial"
url = "https://getdoks.org/tutorial/introduction/"
parent = "get-started"
[[social]]
name = "GitHub"
pre = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"feather feather-github\"><path d=\"M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22\"></path></svg>"
url = "https://github.com/h-enk/doks"
post = "v0.1.0"
weight = 10
[[social]]
name = "Twitter"
pre = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"feather feather-twitter\"><path d=\"M23 3a10.9 10.9 0 0 1-3.14 1.53 4.48 4.48 0 0 0-7.86 3v1A10.66 10.66 0 0 1 3 4s-4 9 5 13a11.64 11.64 0 0 1-7 2c9 5 20 0 20-11.5a4.5 4.5 0 0 0-.08-.83A7.72 7.72 0 0 0 23 3z\"></path></svg>"
url = "https://twitter.com/getdoks"
weight = 20
# [[footer]]
# name = "Privacy"
# url = "/privacy-policy/"
# weight = 10

View File

@ -29,9 +29,8 @@
# url = "/tutorial/lorem/"
[[main]]
name = "Docs"
url = "/docs/prologue/introduction/"
# url = "/docs/1.0/prologue/introduction/"
name = "Documentation"
url = "/documentation/introduction/bienvenue/"
weight = 10
[[main]]

View File

@ -1,17 +1,17 @@
# Meta Data for SEO
## Homepage
title = "Doks"
title = "Loi.re"
titleSeparator = "-"
titleAddition = "Modern Documentation Theme"
description = "Doks is a Hugo theme for building secure, fast, and SEO-ready documentation websites, which you can easily update and customize."
titleAddition = "Services Numériques Libres"
description = "Loi.re propose des services numériques Open Sources hébergés dans le département de *la Loire (42)*."
## Documentation
# docsVersion = "0.3"
## Open Graph
images = ["doks.png"]
ogLocale = "en_US"
ogLocale = "fr_FR"
domainTLD = "doks.netlify.app"
titleHome = "Doks Theme"
@ -65,10 +65,10 @@ defaultImage = "default-image.png" # put in `./assets/images/`
fillImage = "1270x740 Center" # normalize image size
# Footer
footer = "Powered by <a class=\"text-muted\" href=\"https://www.netlify.com/\">Netlify</a>, <a class=\"text-muted\" href=\"https://gohugo.io/\">Hugo</a>, and <a class=\"text-muted\" href=\"https://getdoks.org/\">Doks</a>"
footer = "Réalisé par <a href=\"https://weko.io/\">Weko</a> avec ❤️ et Hébergé par <a href=\"https://resilien.fr/\">RésiLien</a> 🐱 de façon éco-responsable 🍃"
# Feed
copyRight = "Copyright (c) 2020-2021 Henk Verlinde"
copyRight = "Copyright (c) 2023 Weko"
# Alert
alert = false
@ -78,10 +78,10 @@ alertText = "Introducing the Doks child theme, several DX + UX updates, and more
# Edit Page
# repoHost [Github | Gitea | GitLab | Bitbucket | BitbucketServer ] is used for building the edit link based on git hoster
repoHost = "GitHub"
#repoHost = "Gitea"
docsRepo = "https://github.com/h-enk/doks"
docsRepoBranch = "master"
#repoHost = "GitHub"
repoHost = "Gitea"
docsRepo = "https://git.resilien.fr/Weko/loi.re"
docsRepoBranch = "main"
docsRepoSubPath = ""
editPage = false
lastMod = false