WIP
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Simon 2024-03-06 15:27:35 +01:00
parent d33d5b6b22
commit 0e81802c9c
25 changed files with 699 additions and 15 deletions

53
.drone.yml Normal file
View File

@ -0,0 +1,53 @@
---
# drone encrypt ResiLien/gare-centrale $AWS_ACCESS_KEY_ID
kind: secret
name: P4PILLON_AWS_ACCESS_KEY_ID
data: scgAo2EiWf8LFrRkUc8YUeDb3z+pQ7m4mlo8f0lbYZX6s4tivnQSsfn5/eRuGbzUU+OA+JwN
---
# drone encrypt ResiLien/gare-centrale $AWS_SECRET_ACCESS_KEY
kind: secret
name: P4PILLON_AWS_SECRET_ACCESS_KEY
data: K+NloJzfqtVJooqdKfmMSG6ATX7N8yMb+7WLCg3yOWrprPKlft0GtHdBUK5q2/9O2by5lv52itTT15B2Dziq7jYvE1oG4e+CDjJU6BIyj+0zFgVk8Hi1kVkPBaw=
---
kind: pipeline
type: docker
name: P4Pillon
steps:
- name: Construction du site
image: node:current-alpine
volumes:
- name: node_modules
path: /drone/src/node_modules
commands:
- npm install
- npm run build
- name: Déploiement sur l'hébergement S3
image: minio/mc
environment:
AWS_ACCESS_KEY_ID:
from_secret: P4PILLON_AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY:
from_secret: P4PILLON_AWS_SECRET_ACCESS_KEY
commands:
- mc alias set app_p4pillon_org https://s3.garage.resilien.cloud $AWS_ACCESS_KEY_ID $AWS_SECRET_ACCESS_KEY --api S3v4
- mc mirror --overwrite ./public app_p4pillon_org/app.p4pillon.org
- name: notify
image: plugins/matrix@sha256:f1affb31b0c86963c97c6f976fa0dcb3cc84272057fd8558d609d28b3064bd7f
settings:
homeserver: https://converser.eu
roomid: "QwOITmkKxRJJyCSDOZ:converser.eu"
userid: "resilien:converser.eu"
accesstoken:
from_secret: MATRIX_ACCESSTOKEN
when:
status: [ failure ]
# volumes:
# - name: node_modules
# host:
# path: /tmp/drone/cache/weko/scores.ceiba-conseil.com/node_modules

1
.gitignore vendored
View File

@ -6,3 +6,4 @@ yarn-error.log
node_modules
public
resources
hugo_stats.json

View File

@ -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"

View File

@ -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"

View File

@ -0,0 +1,9 @@
baseURL = "https://app.p4pillon.org/"
title = "P4Pillon"
[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&region=garage"

View 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/Weko/gare-centrale/"
weight = 20
[[footer]]
name = "Statuts des services"
url = "https://status.cremeaux.org/"
weight = 30

View 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/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/app.p4pillon.org"
target = "layouts"
## static
[[mounts]]
source = "node_modules/@hyas/doks-core/static"
target = "static"
[[mounts]]
source = "static"
target = "static"

View 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&region=garage"

View 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/Weko/gare-centrale/"
weight = 20
[[footer]]
name = "Statuts des services"
url = "https://status.cremeaux.org/"
weight = 30

View 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"

View File

@ -0,0 +1,17 @@
---
title : "Outils numériques libres de <a href='https://p4pillon.org'>P4Pillon</a>"
description: ""
lead: "Ce site web met à disposition de multiples services utiles pour collaborer, partager et avoir une vie numérique plus <a href='/docs/introduction/vie-numérique/'>« saine »</a> pour <a href='https://p4pillon.org'>P4Pillon</a>."
date: 2023-09-07T16:33:54+02:00
lastmod: 2023-09-07T16:33:54+02:00
draft: false
seo:
title: "Outils numériques libres de P4Pillon" # custom title (optional)
description: "Ce site web met à disposition de multiples services utiles pour collaborer, partager et avoir une vie numérique plus « saine » pour P4Pillon." # custom description (recommended)
canonical: "" # custom canonical URL (optional)
noindex: false # false (default) or true
---
L'association [RésiLien](https://resilien.fr) met à disposition des outils informatiques.
Ses outils sont disponibles pour les acteurs travaillant sur le projet P4Pillon. Pour la création d'un compte vous pouvez faire la demande sur [compte@p4pillon.org](mailto:compte@p4pillon.org).

View File

@ -0,0 +1 @@
../docs/

View File

@ -0,0 +1,44 @@
---
title: "Mentions légales"
description: ""
summary: ""
date: 2023-09-07T17:19:07+02:00
lastmod: 2023-09-07T17:19:07+02:00
draft: false
type: "legal"
seo:
title: "" # custom title (optional)
description: "" # custom description (recommended)
canonical: "" # custom canonical URL (optional)
noindex: false # false (default) or true
---
## Éditeur
Le site web [https://app.p4pillon.org](https://app.p4pillon.org) est édité par l'association [RésiLien](https://resilien.fr).
> SIRET : XXXXXXXXXXXXXX
> Adresse : 315 impasse de la Meliora 42260 Crémeaux
## Directeur de publication
Simon Constans
## Hébergement
Le site web [https://app.p4pillon.org](https://app.p4pillon.org) est hébergé avec sobriété par l'association [RésiLien](https://resilien.fr).
> SIRET: XXXXXXXXXXXXXX
> Adresse : 315 impasse de la Meliora 42260 Crémeaux
## Développement et Maintenance
Le site web [https://app.p4pillon.org](https://app.p4pillon.org) a été réalisé de façon éco-responsable par [RésiLien](https://resilien.fr).
## Liens hypertextes
Les liens hypertextes mis en œuvre en direction dautres sites WEB ne sauraient engager la responsabilité de Jarnat, car nous nexerçons aucun contrôle sur le contenu des sites auxquels ces liens renvoient.
## Cookie
Ce site ninstalle aucun cookie, cest pourquoi il ny a aucun bandeau spécifique. Nous respectons la vie privée de nos visiteurs.

View File

@ -0,0 +1,17 @@
---
title : "Outils numériques libres de <a href='https://cremeaux.fr'>Cremeaux</a>"
description: ""
lead: "Ce site web vous met à disposition de multiples services utiles pour collaborer, partager et avoir une vie numérique plus <a href='/docs/introduction/vie-numérique/'>« saine »</a> sur la commune de <a href='https://cremeaux.fr'>Cremeaux</a>."
date: 2023-09-07T16:33:54+02:00
lastmod: 2023-09-07T16:33:54+02:00
draft: false
seo:
title: "Outils numériques libres de Cremeaux" # custom title (optional)
description: "Ce site web vous met à disposition de multiples services utiles pour collaborer, partager et avoir une vie numérique plus « saine » sur la commune de Cremeaux." # custom description (recommended)
canonical: "" # custom canonical URL (optional)
noindex: false # false (default) or true
---
L'association [RésiLien](https://resilien.fr) met à disposition des outils informatiques pour la commune de [Crémeaux](https://cremeaux.fr).
Certains sont gratuit {{< inline-svg src="currency-euro-off" stroke-width="1" stroke="#ee52b7" height="1rem" width="1rem" class="svg-inline-custom" >}} tandis que d'autres nécessitent une adhésion à l'association ou sont payants {{< inline-svg src="currency-euro" stroke-width="1" stroke="#ee52b7" height="1rem" width="1rem" class="svg-inline-custom" >}} en fonction de l'espace utilisé . Vous pouvez nous contacter pour la création d'un compte à [comptes@cremeaux.org](mailto:comptes@cremeaux.org).

1
content/cremeaux.org/docs Symbolic link
View File

@ -0,0 +1 @@
../docs/

View File

@ -0,0 +1,44 @@
---
title: "Mentions légales"
description: ""
summary: ""
date: 2023-09-07T17:19:07+02:00
lastmod: 2023-09-07T17:19:07+02:00
draft: false
type: "legal"
seo:
title: "" # custom title (optional)
description: "" # custom description (recommended)
canonical: "" # custom canonical URL (optional)
noindex: false # false (default) or true
---
## Éditeur
Le site web [https://cremeaux.org](https://cremeaux.org) est édité par l'association [RésiLien](https://resilien.fr).
> SIRET : XXXXXXXXXXXXXX
> Adresse : 315 impasse de la Meliora 42260 Crémeaux
## Directeur de publication
Simon Constans
## Hébergement
Le site web [https://cremeaux.org](https://cremeaux.org) est hébergé avec sobriété par l'association [RésiLien](https://resilien.fr).
> SIRET: XXXXXXXXXXXXXX
> Adresse : 315 impasse de la Meliora 42260 Crémeaux
## Développement et Maintenance
Le site web [https://cremeaux.org](https://cremeaux.org) a été réalisé de façon éco-responsable par [RésiLien](https://resilien.fr).
## Liens hypertextes
Les liens hypertextes mis en œuvre en direction dautres sites WEB ne sauraient engager la responsabilité de Jarnat, car nous nexerçons aucun contrôle sur le contenu des sites auxquels ces liens renvoient.
## Cookie
Ce site ninstalle aucun cookie, cest pourquoi il ny a aucun bandeau spécifique. Nous respectons la vie privée de nos visiteurs.

View File

@ -4,7 +4,9 @@
"a",
"article",
"aside",
"blockquote",
"body",
"br",
"button",
"circle",
"code",
@ -19,6 +21,7 @@
"h5",
"head",
"header",
"hr",
"html",
"input",
"kbd",
@ -51,13 +54,12 @@
"align-items-center",
"anchor",
"bg-dots",
"blog",
"blog-header",
"btn",
"btn-close",
"btn-cta",
"btn-lg",
"btn-group",
"btn-link",
"btn-outline-primary",
"btn-primary",
"btn-toggle",
"btn-toggle-nav",
@ -85,6 +87,8 @@
"content",
"contributors",
"created-date",
"currency-euro",
"currency-euro-off",
"d-flex",
"d-lg-block",
"d-lg-none",
@ -114,7 +118,6 @@
"fs-5",
"fw-normal",
"h-auto",
"h3",
"h4",
"h5",
"home",
@ -122,12 +125,16 @@
"icon-tabler",
"icon-tabler-arrow-left",
"icon-tabler-arrow-right",
"icon-tabler-brand-github",
"icon-tabler-clock",
"icon-tabler-calendar-event",
"icon-tabler-dots-vertical",
"icon-tabler-file-type-pdf",
"icon-tabler-files",
"icon-tabler-list-details",
"icon-tabler-menu",
"icon-tabler-moon",
"icon-tabler-pencil",
"icon-tabler-search",
"icon-tabler-shield-lock",
"icon-tabler-sun",
"icon-tabler-x",
"justify-content-between",
@ -146,6 +153,7 @@
"me-auto",
"me-lg-1",
"me-lg-3",
"mentions-legales",
"message",
"modal",
"modal-body",
@ -186,13 +194,10 @@
"page-nav",
"pb-1",
"pb-3",
"position-relative",
"privacy",
"pencil",
"px-0",
"query-no-results",
"reading-time",
"rounded",
"rounded-pill",
"row",
"search-form",
"search-input",
@ -213,9 +218,10 @@
"sticky-top",
"stretched-link",
"submitted",
"svg-inline",
"svg-inline-custom",
"tags",
"taxonomy",
"text-body",
"text-body-secondary",
"text-center",
"text-decoration-none",
@ -234,8 +240,13 @@
"ids": [
"TableOfContents",
"buttonColorMode",
"cookie",
"directeur-de-publication",
"doks-docs-nav",
"développement-et-maintenance",
"further-reading",
"hébergement",
"liens-hypertextes",
"offcanvasNavMain",
"offcanvasNavMainLabel",
"offcanvasNavSection",
@ -250,7 +261,8 @@
"section-45389ee90014e0938cb09409b9a8794d",
"section-63d5049791d9d79d86e9a108b0a999ca",
"socialMenu",
"toc"
"toc",
"éditeur"
]
}
}

View File

@ -0,0 +1,76 @@
{{ define "main" }}
<section class="section container-fluid mt-n3 pb-3">
<div class="row justify-content-center">
<div class="col-lg-12 text-center">
<h1>{{ .Title | safeHTML }}</h1>
</div>
<div class="col-lg-9 col-xl-8 text-center">
<p class="lead">{{ .Params.lead | safeHTML }}</p>
{{/* <a class="btn btn-primary btn-cta rounded-pill btn-lg my-3" href="/docs/{{ if site.Params.doks.docsVersioning }}{{ site.Params.doks.docsVersion }}/{{ end }}guides/example-guide/" role="button">{{ i18n "get_started" }}</a> */}}
{{/* {{ .Content }} */}}
</div>
</div>
</section>
{{ end }}
{{ define "sidebar-prefooter" }}
{{ if site.Params.doks.backgroundDots -}}
<div class="d-flex justify-content-start">
<div class="bg-dots"></div>
</div>
{{ end -}}
{{ if eq $.Site.Language.LanguageName "Français" }}
<section class="section section-md section-features">
<div class="container">
<div class="row justify-content-center text-center">
<div class="col-lg-5">
<h2 class="h4">
{{- partial "inline-svg" "pencil" }}&nbsp;
Prise de notes&nbsp;
{{- partial "inline-svg" (dict "src" "currency-euro-off" "stroke-width" "1" "stroke" "#ee52b7" "height" "1rem" "width" "1rem" "class" "svg-inline-custom") }}
</h2>
<p>Travaillez en collaboration sur un texte en ligne pour mettre en lumière vos connaissances.</p>
{{/* <p class="text-muted"><small>Propulsé par Outline</small></p> */}}
<div class="btn-group" role="group" aria-label="Basic outlined example">
<a href="/docs/notes/prise-de-notes/" class="btn btn-outline-primary">Guide</a>
<a href="https://notes.cremeaux.org/" class="btn btn-primary">Accéder au service</a>
</div>
</div>
<div class="col-lg-5">
<h2 class="h4">Add new content</h2>
<p>Add Markdown files to <code>content</code> to create new pages.</p>
</div>
<div class="col-lg-5">
<h2 class="h4">Configure your site</h2>
<p>Edit your config in <code>config/_default/hyas/doks.toml</code>.</p>
</div>
<div class="col-lg-5">
<h2 class="h4">Read the docs</h2>
<p>Learn more in the <a href="https://getdoks.org/">Docs</a>.</p>
</div>
</div>
</div>
</section>
<hr>
<section class="section container-fluid mt-n3 pb-3">
<div class="row justify-content-center">
<div class="col-lg-9 col-xl-8 text-center">
{{ .Content }}
</div>
</div>
</section>
{{ end }}
{{ end }}
{{ define "sidebar-footer" }}
{{ if site.Params.doks.sectionFooter -}}
<section class="section section-md container-fluid bg-light">
<div class="row justify-content-center text-center">
<div class="col-lg-7">
<h2 class="mt-2">Start building with Doks today</h2>
<a class="btn btn-primary rounded-pill px-4 my-2" href="/docs/{{ if site.Params.doks.docsVersioning }}{{ site.Params.doks.docsVersion }}/{{ end }}prologue/introduction/" role="button">{{ i18n "get-started" }}</a>
</div>
</div>
</section>
{{ end -}}
{{ end }}

View File

@ -0,0 +1,13 @@
{{/* Put your custom <script></script> tags here */}}
{{/* EXAMPLE - only load script for production
{{ if eq (hugo.Environment) "production" -}}
{{ partial "footer/esbuild" (dict "src" "js/instantpage.js" "load" "async" "transpile" false) -}}
{{ end -}}
*/}}
{{/* EXAMPLE - only load script for a page type e.g. contact or gallery
{{ if eq .Type "gallery" -}}
{{ partial "footer/esbuild" (dict "src" "js/gallery.js" "load" "async" "transpile" false) -}}
{{ end -}}
*/}}

View File

@ -0,0 +1 @@
<!-- Custom head -->

View File

@ -0,0 +1 @@
<!-- Insert scripts NOT needed by stylesheets here -->

View File

@ -0,0 +1,76 @@
{{ define "main" }}
<section class="section container-fluid mt-n3 pb-3">
<div class="row justify-content-center">
<div class="col-lg-12 text-center">
<h1>{{ .Title | safeHTML }}</h1>
</div>
<div class="col-lg-9 col-xl-8 text-center">
<p class="lead">{{ .Params.lead | safeHTML }}</p>
{{/* <a class="btn btn-primary btn-cta rounded-pill btn-lg my-3" href="/docs/{{ if site.Params.doks.docsVersioning }}{{ site.Params.doks.docsVersion }}/{{ end }}guides/example-guide/" role="button">{{ i18n "get_started" }}</a> */}}
{{/* {{ .Content }} */}}
</div>
</div>
</section>
{{ end }}
{{ define "sidebar-prefooter" }}
{{ if site.Params.doks.backgroundDots -}}
<div class="d-flex justify-content-start">
<div class="bg-dots"></div>
</div>
{{ end -}}
{{ if eq $.Site.Language.LanguageName "Français" }}
<section class="section section-md section-features">
<div class="container">
<div class="row justify-content-center text-center">
<div class="col-lg-5">
<h2 class="h4">
{{- partial "inline-svg" "pencil" }}&nbsp;
Prise de notes&nbsp;
{{- partial "inline-svg" (dict "src" "currency-euro-off" "stroke-width" "1" "stroke" "#ee52b7" "height" "1rem" "width" "1rem" "class" "svg-inline-custom") }}
</h2>
<p>Travaillez en collaboration sur un texte en ligne pour mettre en lumière vos connaissances.</p>
{{/* <p class="text-muted"><small>Propulsé par Outline</small></p> */}}
<div class="btn-group" role="group" aria-label="Basic outlined example">
<a href="/docs/notes/prise-de-notes/" class="btn btn-outline-primary">Guide</a>
<a href="https://notes.cremeaux.org/" class="btn btn-primary">Accéder au service</a>
</div>
</div>
<div class="col-lg-5">
<h2 class="h4">Add new content</h2>
<p>Add Markdown files to <code>content</code> to create new pages.</p>
</div>
<div class="col-lg-5">
<h2 class="h4">Configure your site</h2>
<p>Edit your config in <code>config/_default/hyas/doks.toml</code>.</p>
</div>
<div class="col-lg-5">
<h2 class="h4">Read the docs</h2>
<p>Learn more in the <a href="https://getdoks.org/">Docs</a>.</p>
</div>
</div>
</div>
</section>
<hr>
<section class="section container-fluid mt-n3 pb-3">
<div class="row justify-content-center">
<div class="col-lg-9 col-xl-8 text-center">
{{ .Content }}
</div>
</div>
</section>
{{ end }}
{{ end }}
{{ define "sidebar-footer" }}
{{ if site.Params.doks.sectionFooter -}}
<section class="section section-md container-fluid bg-light">
<div class="row justify-content-center text-center">
<div class="col-lg-7">
<h2 class="mt-2">Start building with Doks today</h2>
<a class="btn btn-primary rounded-pill px-4 my-2" href="/docs/{{ if site.Params.doks.docsVersioning }}{{ site.Params.doks.docsVersion }}/{{ end }}prologue/introduction/" role="button">{{ i18n "get-started" }}</a>
</div>
</div>
</section>
{{ end -}}
{{ end }}

View File

@ -0,0 +1,13 @@
{{/* Put your custom <script></script> tags here */}}
{{/* EXAMPLE - only load script for production
{{ if eq (hugo.Environment) "production" -}}
{{ partial "footer/esbuild" (dict "src" "js/instantpage.js" "load" "async" "transpile" false) -}}
{{ end -}}
*/}}
{{/* EXAMPLE - only load script for a page type e.g. contact or gallery
{{ if eq .Type "gallery" -}}
{{ partial "footer/esbuild" (dict "src" "js/gallery.js" "load" "async" "transpile" false) -}}
{{ end -}}
*/}}

View File

@ -0,0 +1 @@
<!-- Custom head -->

View File

@ -0,0 +1 @@
<!-- Insert scripts NOT needed by stylesheets here -->