template + blueprint news
All checks were successful
Deploy / Deploy to Production (push) Successful in 5m16s
All checks were successful
Deploy / Deploy to Production (push) Successful in 5m16s
This commit is contained in:
parent
224ddedc93
commit
ea35cc1e22
11 changed files with 286 additions and 8 deletions
27
site/blueprints/pages/news.yml
Normal file
27
site/blueprints/pages/news.yml
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
title: Brèves
|
||||
|
||||
tabs:
|
||||
contentTab:
|
||||
label: Contenu
|
||||
icon: page
|
||||
columns:
|
||||
- width: 1/3
|
||||
fields:
|
||||
chapo:
|
||||
label: Introduction
|
||||
type: writer
|
||||
nodes: false
|
||||
buttons: false
|
||||
- width: 2/3
|
||||
sections:
|
||||
newsSection:
|
||||
type: pages
|
||||
label: Liste des brèves
|
||||
template: news-item
|
||||
create: news-item
|
||||
layout: list
|
||||
text: "{{ page.title }}"
|
||||
info: "{{ page.category }} — {{ page.created.toDate('d/m/Y') }}"
|
||||
sortBy: created desc
|
||||
|
||||
seo: seo/page
|
||||
Loading…
Add table
Add a link
Reference in a new issue