feat: Import portails architecture
This commit is contained in:
22
config/apps.p4pillon.org/hugo.toml
Normal file
22
config/apps.p4pillon.org/hugo.toml
Normal file
@ -0,0 +1,22 @@
|
||||
baseURL = "https://apps.p4pillon.org/"
|
||||
title = "P4Pillon"
|
||||
languageCode = "fr-FR"
|
||||
defaultContentLanguage = "fr"
|
||||
disableLanguages = ["de", "nl", "en"]
|
||||
|
||||
[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/portails/"
|
||||
weight = 20
|
||||
|
||||
[[footer]]
|
||||
name = "Statuts des services"
|
||||
url = "https://status.p4pillon.org/"
|
||||
weight = 30
|
104
config/apps.p4pillon.org/module.toml
Normal file
104
config/apps.p4pillon.org/module.toml
Normal file
@ -0,0 +1,104 @@
|
||||
# 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 = "portails/shared/content"
|
||||
target = "content"
|
||||
|
||||
[[mounts]]
|
||||
source = "portails/apps.p4pillon.org/content"
|
||||
target = "content"
|
||||
|
||||
## data
|
||||
[[mounts]]
|
||||
source = "node_modules/@hyas/doks-core/data"
|
||||
target = "data"
|
||||
|
||||
[[mounts]]
|
||||
source = "data"
|
||||
target = "data"
|
||||
|
||||
[[mounts]]
|
||||
source = "portails/shared/data"
|
||||
target = "data"
|
||||
|
||||
[[mounts]]
|
||||
source = "portails/apps.p4pillon.org/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 = "portails/shared/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