style blueprints

This commit is contained in:
isUnknown 2024-01-25 19:07:52 +01:00
parent 77074c47bf
commit eed52913e4
8 changed files with 96 additions and 1 deletions

View file

@ -0,0 +1,36 @@
title: Article
image:
back: black
tabs:
contentTab:
label: Contenu
sections:
bodySection:
label: Corps
type: fields
fields:
body:
label: Corps
type: textarea
metaTab:
label: Métadonnées
sections:
metadata:
type: fields
fields:
published:
label: Date de publication
type: date
default: today
width: 1/3
category:
label: Catégorie
type: select
options: query
query: site.categories.split
width: 1/3
author:
label: Auteur
type: users
width: 1/3

View file

@ -0,0 +1,9 @@
title: Année
image:
icon: calendar
back: black
sections:
articles:
type: pages
template: article

View file

@ -8,5 +8,11 @@ tabs:
label: Contenu
type: fields
fields:
categories:
type: tags
edito:
type: writer
categoriesSection:
label: Années
type: pages
template: year

View file

@ -0,0 +1,14 @@
title: Adminitrateur
description: Un administrateur a tous les droits.
image:
icon: star-filled
columns:
- width: 1/2
fields:
link:
label: Lien
- width: 1/2
fields:
presentation:
type: writer

0
site/templates/year.php Normal file
View file