clean
This commit is contained in:
parent
d4be54dfe2
commit
1dd4060314
14 changed files with 151 additions and 148 deletions
9
site/blueprints/fields/projects.yml
Normal file
9
site/blueprints/fields/projects.yml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
label: Projets
|
||||
type: pages
|
||||
layout: cards
|
||||
template: project
|
||||
search: true
|
||||
info: "tags: {{ page.tags }} --------- {{ page.date.toDate('d/m/Y') }}"
|
||||
sortBy: date desc
|
||||
image:
|
||||
ratio: 12/9
|
||||
|
|
@ -1,24 +1,20 @@
|
|||
title: Projets
|
||||
status:
|
||||
unlisted:
|
||||
label: Non listé
|
||||
text: La page est accessible uniquement par son URL
|
||||
options:
|
||||
move: false
|
||||
duplicate: false
|
||||
delete: false
|
||||
changeStatus: false
|
||||
|
||||
|
||||
sections:
|
||||
|
||||
Drafts:
|
||||
label: Drafts
|
||||
type: pages
|
||||
layout: list
|
||||
template: project
|
||||
status: drafts
|
||||
search: true
|
||||
info: "tags: {{ page.tags }} --------- {{ page.date.toDate('d/m/Y') }}"
|
||||
sortBy: date desc
|
||||
|
||||
publishedProjects:
|
||||
label: Published projects
|
||||
type: pages
|
||||
layout: list
|
||||
template: project
|
||||
status: published
|
||||
search: true
|
||||
info: "tags: {{ page.tags }} --------- {{ page.date.toDate('d/m/Y') }}"
|
||||
sortBy: date desc
|
||||
|
||||
tabs:
|
||||
content:
|
||||
label: Contenu
|
||||
icon: bars
|
||||
sections:
|
||||
projects: fields/projects
|
||||
files: tabs/files
|
||||
seo:
|
||||
icon: search
|
||||
|
|
|
|||
|
|
@ -1,5 +1,17 @@
|
|||
title: Site
|
||||
|
||||
sections:
|
||||
pages:
|
||||
type: pages
|
||||
tabs:
|
||||
dashboard:
|
||||
label: Tableau de bord
|
||||
icon: star
|
||||
sections:
|
||||
slideshowSection:
|
||||
type: fields
|
||||
fields:
|
||||
slideshow:
|
||||
label: Carrousel
|
||||
type: files
|
||||
projects:
|
||||
extends: fields/projects
|
||||
parent: page('projets')
|
||||
files: tabs/files
|
||||
|
|
|
|||
16
site/blueprints/tabs/files.yml
Normal file
16
site/blueprints/tabs/files.yml
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
label: Fichiers
|
||||
icon: attachment
|
||||
columns:
|
||||
- width: 1/4
|
||||
fields:
|
||||
manageFilesInfo:
|
||||
label: false
|
||||
type: info
|
||||
text: À droite, tous les fichiers que stocke la page. Supprimez les fichiers inutilisés pour éviter de surcharger inutilement le serveur.
|
||||
|
||||
- width: 3/4
|
||||
sections:
|
||||
filesSection:
|
||||
label: Fichiers
|
||||
type: files
|
||||
batch: true
|
||||
Loading…
Add table
Add a link
Reference in a new issue