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"
|
||||
|
@ -90,7 +90,7 @@ mainSections = ["docs"]
|
||||
[doks.menu]
|
||||
[doks.menu.section]
|
||||
auto = true # true (default) or false
|
||||
collapsibleSidebar = true # true (default) or false
|
||||
collapsibleSidebar = false # true (default) or false
|
||||
|
||||
# Debug
|
||||
[render_hooks.image]
|
||||
|
14
config/app.p4pillon.org/hugo.toml
Normal file
14
config/app.p4pillon.org/hugo.toml
Normal file
@ -0,0 +1,14 @@
|
||||
baseURL = "https://app.p4pillon.org/"
|
||||
title = "P4Pillon"
|
||||
|
||||
[Params]
|
||||
url = "app.p4pillon.org"
|
||||
domain = "p4pillon.org"
|
||||
poweredBy = true
|
||||
|
||||
[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://app.p4pillon.org?endpoint=https://s3.garage.resilien.cloud&disableSSL=true&s3ForcePathStyle=true®ion=garage"
|
55
config/app.p4pillon.org/menus.fr.toml
Normal file
55
config/app.p4pillon.org/menus.fr.toml
Normal file
@ -0,0 +1,55 @@
|
||||
[[main]]
|
||||
name = "Guides"
|
||||
url = "/docs/introduction/bienvenue/"
|
||||
weight = 10
|
||||
|
||||
[[social]]
|
||||
name = "Gérer vos données"
|
||||
pre = '<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-files" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M15 3v4a1 1 0 0 0 1 1h4" /><path d="M18 17h-7a2 2 0 0 1 -2 -2v-10a2 2 0 0 1 2 -2h4l5 5v7a2 2 0 0 1 -2 2z" /><path d="M16 17v2a2 2 0 0 1 -2 2h-7a2 2 0 0 1 -2 -2v-10a2 2 0 0 1 2 -2h2" /></svg>'
|
||||
url = "https://nuage.p4pillon.org/"
|
||||
weight = 40
|
||||
|
||||
[[social]]
|
||||
name = "Prise de notes"
|
||||
pre = '<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-pencil" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M4 20h4l10.5 -10.5a2.828 2.828 0 1 0 -4 -4l-10.5 10.5v4" /><path d="M13.5 6.5l4 4" /></svg>'
|
||||
url = "https://notes.p4pillon.org/"
|
||||
weight = 10
|
||||
|
||||
[[social]]
|
||||
name = "Gestion d'évènements"
|
||||
pre = '<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-calendar-event" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M4 5m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z" /><path d="M16 3l0 4" /><path d="M8 3l0 4" /><path d="M4 11l16 0" /><path d="M8 15h2v2h-2z" /></svg>'
|
||||
url = "https://mobilizon.p4pillon.org/"
|
||||
weight = 20
|
||||
|
||||
[[social]]
|
||||
name = "Gestion de projets"
|
||||
pre = '<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-list-details" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M13 5h8" /><path d="M13 9h5" /><path d="M13 15h8" /><path d="M13 19h5" /><path d="M3 4m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z" /><path d="M3 14m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z" /></svg>'
|
||||
url = "https://projets.p4pillon.org/"
|
||||
weight = 50
|
||||
|
||||
[[social]]
|
||||
name = "Gestion de PDF"
|
||||
pre = '<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-file-type-pdf" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M14 3v4a1 1 0 0 0 1 1h4" /><path d="M5 12v-7a2 2 0 0 1 2 -2h7l5 5v4" /><path d="M5 18h1.5a1.5 1.5 0 0 0 0 -3h-1.5v6" /><path d="M17 18h2" /><path d="M20 15h-3v6" /><path d="M11 15v6h1a2 2 0 0 0 2 -2v-2a2 2 0 0 0 -2 -2h-1z" /></svg>'
|
||||
url = "https://pdf.p4pillon.org/"
|
||||
weight = 30
|
||||
|
||||
[[social]]
|
||||
name = "Mots de passe"
|
||||
pre = '<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-shield-lock" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M12 3a12 12 0 0 0 8.5 3a12 12 0 0 1 -8.5 15a12 12 0 0 1 -8.5 -15a12 12 0 0 0 8.5 -3" /><path d="M12 11m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0" /><path d="M12 12l0 2.5" /></svg>'
|
||||
url = "https://pass.p4pillon.org/"
|
||||
weight = 60
|
||||
|
||||
[[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
|
91
config/app.p4pillon.org/module.toml
Normal file
91
config/app.p4pillon.org/module.toml
Normal file
@ -0,0 +1,91 @@
|
||||
# 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 = "content/gare-centrale"
|
||||
target = "content"
|
||||
[[mounts]]
|
||||
source = "content/app.p4pillon.org"
|
||||
target = "content"
|
||||
|
||||
## data
|
||||
[[mounts]]
|
||||
source = "node_modules/@hyas/doks-core/data"
|
||||
target = "data"
|
||||
|
||||
[[mounts]]
|
||||
source = "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/gare-centrale"
|
||||
target = "layouts"
|
||||
|
||||
## static
|
||||
[[mounts]]
|
||||
source = "node_modules/@hyas/doks-core/static"
|
||||
target = "static"
|
||||
|
||||
[[mounts]]
|
||||
source = "static"
|
||||
target = "static"
|
9
config/cremeaux.org/hugo.toml
Normal file
9
config/cremeaux.org/hugo.toml
Normal file
@ -0,0 +1,9 @@
|
||||
baseURL = "https://cremeaux.org/"
|
||||
title = "Cremeaux.org"
|
||||
|
||||
[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://cremeaux.org?endpoint=https://s3.garage.resilien.cloud&disableSSL=true&s3ForcePathStyle=true®ion=garage"
|
55
config/cremeaux.org/menus.fr.toml
Normal file
55
config/cremeaux.org/menus.fr.toml
Normal file
@ -0,0 +1,55 @@
|
||||
[[main]]
|
||||
name = "Guides"
|
||||
url = "/docs/introduction/bienvenue/"
|
||||
weight = 10
|
||||
|
||||
[[social]]
|
||||
name = "Gérer vos données"
|
||||
pre = '<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-files" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M15 3v4a1 1 0 0 0 1 1h4" /><path d="M18 17h-7a2 2 0 0 1 -2 -2v-10a2 2 0 0 1 2 -2h4l5 5v7a2 2 0 0 1 -2 2z" /><path d="M16 17v2a2 2 0 0 1 -2 2h-7a2 2 0 0 1 -2 -2v-10a2 2 0 0 1 2 -2h2" /></svg>'
|
||||
url = "https://nuage.cremeaux.org/"
|
||||
weight = 40
|
||||
|
||||
[[social]]
|
||||
name = "Prise de notes"
|
||||
pre = '<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-pencil" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M4 20h4l10.5 -10.5a2.828 2.828 0 1 0 -4 -4l-10.5 10.5v4" /><path d="M13.5 6.5l4 4" /></svg>'
|
||||
url = "https://notes.cremeaux.org/"
|
||||
weight = 10
|
||||
|
||||
[[social]]
|
||||
name = "Gestion d'évènements"
|
||||
pre = '<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-calendar-event" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M4 5m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z" /><path d="M16 3l0 4" /><path d="M8 3l0 4" /><path d="M4 11l16 0" /><path d="M8 15h2v2h-2z" /></svg>'
|
||||
url = "https://mobilizon.cremeaux.org/"
|
||||
weight = 20
|
||||
|
||||
[[social]]
|
||||
name = "Gestion de projets"
|
||||
pre = '<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-list-details" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M13 5h8" /><path d="M13 9h5" /><path d="M13 15h8" /><path d="M13 19h5" /><path d="M3 4m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z" /><path d="M3 14m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z" /></svg>'
|
||||
url = "https://projets.cremeaux.org/"
|
||||
weight = 50
|
||||
|
||||
[[social]]
|
||||
name = "Gestion de PDF"
|
||||
pre = '<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-file-type-pdf" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M14 3v4a1 1 0 0 0 1 1h4" /><path d="M5 12v-7a2 2 0 0 1 2 -2h7l5 5v4" /><path d="M5 18h1.5a1.5 1.5 0 0 0 0 -3h-1.5v6" /><path d="M17 18h2" /><path d="M20 15h-3v6" /><path d="M11 15v6h1a2 2 0 0 0 2 -2v-2a2 2 0 0 0 -2 -2h-1z" /></svg>'
|
||||
url = "https://pdf.cremeaux.org/"
|
||||
weight = 30
|
||||
|
||||
[[social]]
|
||||
name = "Mots de passe"
|
||||
pre = '<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-shield-lock" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M12 3a12 12 0 0 0 8.5 3a12 12 0 0 1 -8.5 15a12 12 0 0 1 -8.5 -15a12 12 0 0 0 8.5 -3" /><path d="M12 11m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0" /><path d="M12 12l0 2.5" /></svg>'
|
||||
url = "https://pass.cremeaux.org/"
|
||||
weight = 60
|
||||
|
||||
[[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.cremeaux.org/"
|
||||
weight = 30
|
88
config/cremeaux.org/module.toml
Normal file
88
config/cremeaux.org/module.toml
Normal file
@ -0,0 +1,88 @@
|
||||
# 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 = "content/cremeaux.org"
|
||||
target = "content"
|
||||
|
||||
## data
|
||||
[[mounts]]
|
||||
source = "node_modules/@hyas/doks-core/data"
|
||||
target = "data"
|
||||
|
||||
[[mounts]]
|
||||
source = "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/cremeaux.org"
|
||||
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