This commit is contained in:
@ -7,14 +7,14 @@ disableHugoGeneratorInject = true
|
||||
enableEmoji = true
|
||||
enableGitInfo = false
|
||||
enableRobotsTXT = true
|
||||
languageCode = "en-US"
|
||||
languageCode = "fr-FR"
|
||||
paginate = 10
|
||||
rssLimit = 10
|
||||
summarylength = 20 # 70 (default)
|
||||
|
||||
# Multilingual
|
||||
defaultContentLanguage = "en"
|
||||
disableLanguages = ["de", "nl"]
|
||||
defaultContentLanguage = "fr"
|
||||
disableLanguages = ["de", "nl", "en"]
|
||||
defaultContentLanguageInSubdir = false
|
||||
|
||||
copyRight = "Copyright (c) 2020-2024 Hyas"
|
||||
|
@ -1,3 +1,11 @@
|
||||
[fr]
|
||||
languageName = "Français"
|
||||
contentDir = "content/fr"
|
||||
weight = 5
|
||||
[fr.params]
|
||||
languageISO = "FR"
|
||||
languageTag = "fr-FR"
|
||||
|
||||
[en]
|
||||
languageName = "English"
|
||||
contentDir = "content/en"
|
||||
|
19
config/apps.p4pillon.org/hugo.toml
Normal file
19
config/apps.p4pillon.org/hugo.toml
Normal file
@ -0,0 +1,19 @@
|
||||
baseURL = "https://apps.p4pillon.org/"
|
||||
title = "P4Pillon"
|
||||
|
||||
[Params]
|
||||
url = "apps.p4pillon.org"
|
||||
domain = "p4pillon.org"
|
||||
poweredBy = true
|
||||
|
||||
[Params.doks]
|
||||
[Params.doks.menu]
|
||||
[Params.doks.menu.section]
|
||||
collapsibleSidebar = false
|
||||
|
||||
[languages.fr.params]
|
||||
footer = 'Mise en place et hébergé avec sobriété par <a class="text-muted" href="https://resilien.fr/">RésiLien</a>'
|
||||
|
||||
[deployment.targets]
|
||||
name = "production"
|
||||
URL = "s3://apps.p4pillon.org?endpoint=https://s3.garage.resilien.cloud&disableSSL=true&s3ForcePathStyle=true®ion=garage"
|
19
config/apps.p4pillon.org/menus.fr.toml
Normal file
19
config/apps.p4pillon.org/menus.fr.toml
Normal file
@ -0,0 +1,19 @@
|
||||
[[main]]
|
||||
name = "Guides"
|
||||
url = "/docs/introduction/bienvenue/"
|
||||
weight = 10
|
||||
|
||||
[[footer]]
|
||||
name = "Mentions légales"
|
||||
url = "/mentions-legales/"
|
||||
weight = 10
|
||||
|
||||
[[footer]]
|
||||
name = "Sources du site"
|
||||
url = "https://git.resilien.fr/ResiLien/gare-centrale/"
|
||||
weight = 20
|
||||
|
||||
[[footer]]
|
||||
name = "Statuts des services"
|
||||
url = "https://status.p4pillon.org/"
|
||||
weight = 30
|
100
config/apps.p4pillon.org/module.toml
Normal file
100
config/apps.p4pillon.org/module.toml
Normal file
@ -0,0 +1,100 @@
|
||||
# mounts
|
||||
## archetypes
|
||||
[[mounts]]
|
||||
source = "node_modules/@hyas/doks-core/archetypes"
|
||||
target = "archetypes"
|
||||
|
||||
[[mounts]]
|
||||
source = "archetypes"
|
||||
target = "archetypes"
|
||||
|
||||
## assets
|
||||
[[mounts]]
|
||||
source = "node_modules/@hyas/core/assets"
|
||||
target = "assets"
|
||||
|
||||
[[mounts]]
|
||||
source = "node_modules/@hyas/images/assets"
|
||||
target = "assets"
|
||||
excludeFiles = "/scss/**.scss"
|
||||
|
||||
[[mounts]]
|
||||
source = "node_modules/@hyas/doks-core/assets"
|
||||
target = "assets"
|
||||
|
||||
[[mounts]]
|
||||
source = "node_modules/@tabler/icons/icons"
|
||||
target = "assets/svgs/tabler-icons"
|
||||
|
||||
[[mounts]]
|
||||
source = "assets"
|
||||
target = "assets"
|
||||
|
||||
## content
|
||||
[[mounts]]
|
||||
source = "gare-centrale/content"
|
||||
target = "content"
|
||||
|
||||
[[mounts]]
|
||||
source = "gare-centrale/apps.p4pillon.org/content"
|
||||
target = "content"
|
||||
|
||||
## data
|
||||
[[mounts]]
|
||||
source = "node_modules/@hyas/doks-core/data"
|
||||
target = "data"
|
||||
|
||||
[[mounts]]
|
||||
source = "data"
|
||||
target = "data"
|
||||
|
||||
[[mounts]]
|
||||
source = "gare-centrale/data"
|
||||
target = "data"
|
||||
|
||||
## i18n
|
||||
[[mounts]]
|
||||
source = "node_modules/@hyas/doks-core/i18n"
|
||||
target = "i18n"
|
||||
|
||||
[[mounts]]
|
||||
source = "i18n"
|
||||
target = "i18n"
|
||||
|
||||
## layouts
|
||||
[[mounts]]
|
||||
source = "node_modules/@hyas/core/layouts"
|
||||
target = "layouts"
|
||||
|
||||
[[mounts]]
|
||||
source = "node_modules/@hyas/seo/layouts"
|
||||
target = "layouts"
|
||||
|
||||
[[mounts]]
|
||||
source = "node_modules/@hyas/images/layouts"
|
||||
target = "layouts"
|
||||
|
||||
[[mounts]]
|
||||
source = "node_modules/@hyas/doks-core/layouts"
|
||||
target = "layouts"
|
||||
|
||||
[[mounts]]
|
||||
source = "node_modules/@hyas/inline-svg/layouts"
|
||||
target = "layouts"
|
||||
|
||||
[[mounts]]
|
||||
source = "layouts"
|
||||
target = "layouts"
|
||||
|
||||
[[mounts]]
|
||||
source = "gare-centrale/layouts"
|
||||
target = "layouts"
|
||||
|
||||
## static
|
||||
[[mounts]]
|
||||
source = "node_modules/@hyas/doks-core/static"
|
||||
target = "static"
|
||||
|
||||
[[mounts]]
|
||||
source = "static"
|
||||
target = "static"
|
Reference in New Issue
Block a user