2024-01-15 16:06:29 +00:00
|
|
|
backend:
|
2024-01-16 13:55:48 +00:00
|
|
|
name: gitea
|
2024-01-15 16:06:29 +00:00
|
|
|
repo: maximeg/palettetest # Path to your Gitea repository
|
2024-01-19 15:10:33 +00:00
|
|
|
app_id: e8c9892d-30f2-428f-b639-172402acbf94 # The Client ID provided by Gitea
|
2024-01-24 09:38:00 +00:00
|
|
|
api_root: https://git.deuxfleurs.fr/api/v1 # API URL of your Gitea instance
|
2024-01-19 14:58:00 +00:00
|
|
|
base_url: https://git.deuxfleurs.fr/ # Root URL of your Gitea instance
|
2024-01-15 16:06:29 +00:00
|
|
|
# optional, defaults to main
|
2024-01-15 16:21:00 +00:00
|
|
|
# branch: main
|
2024-01-24 18:26:21 +00:00
|
|
|
locale: 'fr'
|
2024-02-22 15:47:33 +00:00
|
|
|
media_folder: "/static/images"
|
2024-03-07 10:39:03 +00:00
|
|
|
public_folder: "/static/images"
|
2024-02-28 20:43:25 +00:00
|
|
|
media_library:
|
|
|
|
name: Bibliothèque
|
|
|
|
config:
|
|
|
|
max_file_size: 1024000
|
2024-01-15 16:21:00 +00:00
|
|
|
collections:
|
2024-03-07 08:29:32 +00:00
|
|
|
- name: page principale
|
|
|
|
icon: homePage
|
|
|
|
label: Page principale
|
|
|
|
label_singular: Page principale
|
|
|
|
create: false
|
|
|
|
destroy: false
|
|
|
|
description: >
|
|
|
|
Créez vos propre pages
|
|
|
|
folder: content/blog
|
|
|
|
slug: '{{year}}-{{month}}-{{day}}-{{slug}}'
|
|
|
|
summary_fields:
|
|
|
|
- title
|
|
|
|
- date
|
|
|
|
sortable_fields:
|
|
|
|
fields:
|
|
|
|
- title
|
|
|
|
- date
|
|
|
|
default:
|
|
|
|
field: title
|
|
|
|
view_filters:
|
|
|
|
filters:
|
|
|
|
- name: posts-with-index
|
|
|
|
label: Posts With Index
|
|
|
|
field: title
|
|
|
|
pattern: 'This is post #'
|
|
|
|
- name: posts-without-index
|
|
|
|
label: Posts Without Index
|
|
|
|
field: title
|
|
|
|
pattern: front matter post
|
|
|
|
view_groups:
|
|
|
|
groups:
|
|
|
|
- name: by-year
|
|
|
|
label: Year
|
|
|
|
field: date
|
|
|
|
pattern: '\d{4}'
|
|
|
|
fields:
|
|
|
|
- label: Title
|
|
|
|
name: title
|
|
|
|
widget: string
|
|
|
|
- label: Publish Date
|
|
|
|
name: date
|
|
|
|
widget: datetime
|
|
|
|
date_format: yyyy-MM-dd
|
|
|
|
time_format: 'HH:mm'
|
|
|
|
format: "yyyy-MM-dd'T'HH:mm:ss.SSSXXX"
|
|
|
|
- label: Cover Image
|
|
|
|
name: image
|
|
|
|
widget: image
|
|
|
|
required: false
|
|
|
|
- label: Body
|
|
|
|
name: body
|
|
|
|
widget: markdown
|
|
|
|
hint: "*Main* __content__ __*goes*__ [here](https://example.com/)."
|
2024-02-22 10:53:54 +00:00
|
|
|
- name: pages
|
2024-02-22 15:18:25 +00:00
|
|
|
#to build a hugo section (look for it)
|
|
|
|
label: Pages du site
|
2024-03-07 08:29:32 +00:00
|
|
|
icon: postPage
|
2024-02-22 10:53:54 +00:00
|
|
|
label_singular: 'Page'
|
|
|
|
folder: content/pages
|
2024-03-04 14:43:06 +00:00
|
|
|
#path: '{{slug}}/_index'
|
2024-02-22 10:53:54 +00:00
|
|
|
create: true
|
2024-03-04 14:38:01 +00:00
|
|
|
nested:
|
|
|
|
depth: 100
|
2024-02-22 10:53:54 +00:00
|
|
|
fields:
|
2024-02-22 15:05:50 +00:00
|
|
|
- label: Titre
|
2024-02-22 10:53:54 +00:00
|
|
|
name: title
|
|
|
|
widget: string
|
2024-02-22 15:05:50 +00:00
|
|
|
- label: Description
|
2024-02-22 15:34:21 +00:00
|
|
|
name: description
|
2024-02-22 15:05:50 +00:00
|
|
|
widget: text
|
|
|
|
- label: Image de couverture
|
|
|
|
name: featured_image
|
2024-02-28 10:13:07 +00:00
|
|
|
widget: image
|
2024-02-28 11:10:59 +00:00
|
|
|
media_folder: "/static/images"
|
2024-03-07 10:42:28 +00:00
|
|
|
#public_folder: "/images"
|
|
|
|
media_library:
|
|
|
|
config:
|
2024-03-07 10:42:40 +00:00
|
|
|
max_file_size: 1024000
|
2024-02-22 15:05:50 +00:00
|
|
|
- label: Corps
|
2024-02-22 10:53:54 +00:00
|
|
|
name: body
|
|
|
|
widget: markdown
|
2024-01-24 10:31:27 +00:00
|
|
|
# - label: 'Settings'
|
|
|
|
# name: settings
|
|
|
|
# files:
|
|
|
|
# - label: 'Theme Settings'
|
|
|
|
# name: theme settings
|
|
|
|
# file: 'site/settings.toml'
|
|
|
|
# fields:
|
|
|
|
# - label: toml file
|
|
|
|
# name: toml file
|
|
|
|
# widget: 'file'
|
|
|
|
# media_library:
|
|
|
|
# config:
|
|
|
|
# multiple: true
|
2024-03-07 08:29:32 +00:00
|
|
|
# - name: posts
|
|
|
|
# icon: postPage
|
|
|
|
# label: Posts
|
|
|
|
# label_singular: Post
|
|
|
|
# description: >
|
|
|
|
# The description is a great place for tone setting, high level information,
|
|
|
|
# and editing guidelines that are specific to a collection.
|
|
|
|
# folder: content/_posts
|
|
|
|
# slug: '{{year}}-{{month}}-{{day}}-{{slug}}'
|
|
|
|
# summary_fields:
|
|
|
|
# - title
|
|
|
|
# - date
|
|
|
|
# sortable_fields:
|
|
|
|
# fields:
|
|
|
|
# - title
|
|
|
|
# - date
|
|
|
|
# default:
|
|
|
|
# field: title
|
|
|
|
# create: true
|
|
|
|
# view_filters:
|
|
|
|
# filters:
|
|
|
|
# - name: posts-with-index
|
|
|
|
# label: Posts With Index
|
|
|
|
# field: title
|
|
|
|
# pattern: 'This is post #'
|
|
|
|
# - name: posts-without-index
|
|
|
|
# label: Posts Without Index
|
|
|
|
# field: title
|
|
|
|
# pattern: front matter post
|
|
|
|
# - name: draft
|
|
|
|
# label: Drafts
|
|
|
|
# field: draft
|
|
|
|
# pattern: true
|
|
|
|
# view_groups:
|
|
|
|
# groups:
|
|
|
|
# - name: by-year
|
|
|
|
# label: Year
|
|
|
|
# field: date
|
|
|
|
# pattern: '\d{4}'
|
|
|
|
# - name: draft
|
|
|
|
# label: Drafts
|
|
|
|
# field: draft
|
|
|
|
# fields:
|
|
|
|
# - label: Title
|
|
|
|
# name: title
|
|
|
|
# widget: string
|
|
|
|
# - label: 'Draft'
|
|
|
|
# name: 'draft'
|
|
|
|
# widget: 'boolean'
|
|
|
|
# default: false
|
|
|
|
# - label: Publish Date
|
|
|
|
# name: date
|
|
|
|
# widget: datetime
|
|
|
|
# date_format: yyyy-MM-dd
|
|
|
|
# time_format: 'HH:mm'
|
|
|
|
# format: "yyyy-MM-dd'T'HH:mm:ss.SSSXXX"
|
|
|
|
# - label: Cover Image
|
|
|
|
# name: image
|
|
|
|
# widget: image
|
|
|
|
# required: false
|
|
|
|
# - label: Description
|
|
|
|
# name: description
|
|
|
|
# widget: text
|
|
|
|
# - label: Category
|
|
|
|
# name: category
|
|
|
|
# widget: string
|
|
|
|
# - label: Body
|
|
|
|
# name: body
|
|
|
|
# widget: markdown
|
|
|
|
# hint: '*Main* __content__ __*goes*__ [here](https://example.com/).'
|
|
|
|
# - label: Tags
|
|
|
|
# name: tags
|
|
|
|
# widget: list
|
|
|
|
- name: settings
|
|
|
|
label: 'Configuration'
|
|
|
|
icon: settingsPage
|
2024-01-24 09:58:54 +00:00
|
|
|
files:
|
2024-01-24 17:38:13 +00:00
|
|
|
- label: 'Configuration du thème'
|
2024-01-24 09:58:54 +00:00
|
|
|
name: theme settings
|
2024-01-24 17:24:52 +00:00
|
|
|
file: 'hugo_config/_default/theme_settings.toml'
|
2024-01-24 10:25:44 +00:00
|
|
|
extension: toml
|
2024-02-22 12:28:55 +00:00
|
|
|
fields:
|
|
|
|
- label: 'Paramètres du thème'
|
2024-01-24 18:04:09 +00:00
|
|
|
name: params
|
|
|
|
widget: object
|
2024-02-22 12:28:55 +00:00
|
|
|
collapsed: true
|
2024-01-24 18:04:09 +00:00
|
|
|
fields:
|
2024-02-12 11:11:12 +00:00
|
|
|
- name: site_logo
|
|
|
|
label: "Logo du site"
|
|
|
|
widget: image
|
2024-02-12 11:34:45 +00:00
|
|
|
hint: "Le logo qui apparaît en haut à gauche sur toutes les pages du site"
|
2024-02-12 11:11:12 +00:00
|
|
|
choose_url: true
|
2024-02-12 11:34:45 +00:00
|
|
|
- name: favicon
|
|
|
|
label: "Favicon"
|
|
|
|
widget: image
|
|
|
|
hint: "L'icône qui apparaît à côté du nom dans l'onglet"
|
2024-02-07 14:47:54 +00:00
|
|
|
- label: Couleur du fond
|
2024-01-30 10:09:29 +00:00
|
|
|
name: background_color_class
|
2024-02-07 14:47:54 +00:00
|
|
|
widget: select
|
|
|
|
hint: Pour choisir la couleur du fond
|
2024-01-30 10:09:29 +00:00
|
|
|
options:
|
|
|
|
- label: 'Rouge'
|
|
|
|
value: 'bg-red'
|
|
|
|
- label: 'Bleu'
|
|
|
|
value: 'bg-blue'
|
|
|
|
- label: 'Vert'
|
|
|
|
value: 'bg-green'
|
|
|
|
- label: 'Violet'
|
|
|
|
value: 'bg-purple'
|
2024-02-07 14:47:54 +00:00
|
|
|
- label: 'Réseaux sociaux'
|
|
|
|
name: ananke_socials
|
|
|
|
widget: list
|
|
|
|
collapsed: true
|
2024-02-12 11:11:12 +00:00
|
|
|
summary: '{{fields.name | upper}}'
|
2024-02-07 14:47:54 +00:00
|
|
|
add_to_top: false
|
2024-02-08 10:44:08 +00:00
|
|
|
label_singular: 'Réseau'
|
2024-02-07 14:47:54 +00:00
|
|
|
fields:
|
2024-02-12 11:11:12 +00:00
|
|
|
- name: name
|
|
|
|
label: 'Réseau social'
|
2024-02-07 14:47:54 +00:00
|
|
|
widget: select
|
|
|
|
options:
|
|
|
|
- label: 'Facebook'
|
|
|
|
value: 'facebook'
|
|
|
|
- label: 'LinkedIn'
|
|
|
|
value: 'linkedin'
|
2024-02-12 11:11:12 +00:00
|
|
|
- name: url
|
|
|
|
label: 'Lien du compte'
|
2024-02-07 15:11:15 +00:00
|
|
|
widget: string
|
2024-02-25 17:24:38 +00:00
|
|
|
- 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
|
2024-02-22 12:28:55 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
2024-02-07 14:47:54 +00:00
|
|
|
|