Rough architecture du site
This commit is contained in:
parent
bc87220397
commit
d4be54dfe2
12 changed files with 233 additions and 0 deletions
7
site/blueprints/pages/about.yml
Normal file
7
site/blueprints/pages/about.yml
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
sections:
|
||||
Fields:
|
||||
type: fields
|
||||
fields:
|
||||
presentation:
|
||||
label: Presentation
|
||||
type: writer
|
||||
14
site/blueprints/pages/home.yml
Normal file
14
site/blueprints/pages/home.yml
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
sections:
|
||||
|
||||
Carroussel:
|
||||
type: fields
|
||||
fields:
|
||||
Images:
|
||||
type: files
|
||||
label: Images
|
||||
layout: cards
|
||||
accept:
|
||||
- image/jpg
|
||||
- image/png
|
||||
- image/svg
|
||||
- image/webp
|
||||
18
site/blueprints/pages/project.yml
Normal file
18
site/blueprints/pages/project.yml
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
|
||||
sections:
|
||||
Fields:
|
||||
type: fields
|
||||
fields:
|
||||
date:
|
||||
label: Date
|
||||
type: date
|
||||
tags:
|
||||
label: project tags
|
||||
type: tags
|
||||
options:
|
||||
- tag test 1
|
||||
- tag test 2
|
||||
- tag test 3
|
||||
description:
|
||||
label: description
|
||||
type: writer
|
||||
24
site/blueprints/pages/projects.yml
Normal file
24
site/blueprints/pages/projects.yml
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
|
||||
|
||||
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
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue