1
0
Fork 0
palette-demo-EnvieAppartAgee/static/admin/config.yml
e21lassa 50ecaa2122
Some checks failed
continuous-integration/drone/push Build is failing
Actualiser static/admin/config.yml
2024-04-01 15:22:21 +00:00

151 lines
No EOL
4.6 KiB
YAML

backend:
name: gitea
repo: e21lassa/palette-demo-EnvieAppartAgee # Lien vers le dépôt Gitea
app_id: 598c700b-a0a1-4359-b31b-5f17dc0fba66 # L'ID provenant de Gitea
api_root: https://git.deuxfleurs.fr/api/v1
base_url: https://git.deuxfleurs.fr/
site_url: 'https://palette-demo-envieappartagee.web.deuxfleurs.fr' # URL du site
locale: 'fr'
media_folder: "static/images/uploads"
public_folder: "/images/uploads"
media_library:
folder_support: true
name: Bibliothèque
config:
max_file_size: 1024000
collections:
- name: page principale
icon: homePage
label: Page principale
label_singular: Page principale
create: false
destroy: false
description: >
Customisez votre page d'accueil
files:
- name: pageaccueil
label: Page d'accueil
file: content/_index.md
fields:
- label: Titre
name: title
widget: string
- label: Description
name: description
widget: text
- label: Image de couverture
name: featured_image
widget: image
media_library:
folder_support: false
- label: Corps
name: body
widget: markdown
- name: pages
#to build a hugo section (look for it)
label: Pages du site
icon: postPage
label_singular: 'Page'
folder: content/pages
#path: '{{slug}}/_index'
create: true
nested:
depth: 100
fields:
- label: Titre
name: title
widget: string
- label: Description
name: description
widget: text
- label: Image de couverture
name: featured_image
widget: image
media_library:
folder_support: false
config:
max_file_size: 1024000
- label: Corps
name: body
widget: markdown
- name: settings
label: 'Configuration'
icon: settingsPage
editor:
preview: false
files:
- label: 'Configuration du thème'
name: theme settings
file: 'hugo_config/_default/theme_settings.toml'
extension: toml
fields:
- label: 'Paramètres du thème'
name: params
widget: object
collapsed: true
fields:
- name: site_logo
label: "Logo du site"
widget: image
hint: "Le logo qui apparaît en haut à gauche sur toutes les pages du site"
choose_url: true
- name: favicon
label: "Favicon"
widget: image
hint: "L'icône qui apparaît à côté du nom dans l'onglet"
- label: Couleur du fond
name: background_color_class
widget: select
hint: Pour choisir la couleur du fond
options:
- label: 'Rouge'
value: 'bg-red'
- label: 'Bleu'
value: 'bg-blue'
- label: 'Vert'
value: 'bg-green'
- label: 'Violet'
value: 'bg-purple'
- label: 'Orange'
value: 'bg-orange'
- label: 'Réseaux sociaux'
name: ananke_socials
widget: list
collapsed: true
summary: '{{fields.name | upper}}'
add_to_top: false
label_singular: 'Réseau'
fields:
- name: name
label: 'Réseau social'
widget: select
options:
- label: 'Facebook'
value: 'facebook'
- label: 'LinkedIn'
value: 'linkedin'
- name: url
label: 'Lien du compte'
widget: string
- label: 'Paramètres du menu'
name: menus
widget: object
collapsed: true
fields:
- label: 'Menu supérieur'
name: main
widget: list
collapsed: true
summary: '{{fields.name | upper}}'
add_to_top: false
label_singular: 'Section'
fields:
- label: 'Nom dans le menu'
name: name
widget: string
- label: 'Page référencée'
name: url
widget: string
- label: 'Poids'
name: weight
widget: number