style blueprints
This commit is contained in:
parent
77074c47bf
commit
eed52913e4
8 changed files with 96 additions and 1 deletions
36
site/blueprints/pages/article.yml
Normal file
36
site/blueprints/pages/article.yml
Normal 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
|
||||
9
site/blueprints/pages/year.yml
Normal file
9
site/blueprints/pages/year.yml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
title: Année
|
||||
image:
|
||||
icon: calendar
|
||||
back: black
|
||||
|
||||
sections:
|
||||
articles:
|
||||
type: pages
|
||||
template: article
|
||||
|
|
@ -8,5 +8,11 @@ tabs:
|
|||
label: Contenu
|
||||
type: fields
|
||||
fields:
|
||||
categories:
|
||||
type: tags
|
||||
edito:
|
||||
type: writer
|
||||
categoriesSection:
|
||||
label: Années
|
||||
type: pages
|
||||
template: year
|
||||
|
|
|
|||
14
site/blueprints/users/admin.yml
Normal file
14
site/blueprints/users/admin.yml
Normal 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
0
site/templates/year.php
Normal file
Loading…
Add table
Add a link
Reference in a new issue