diff --git a/assets/css/src/nav.css b/assets/css/src/nav.css index cca70b6..2f8542c 100644 --- a/assets/css/src/nav.css +++ b/assets/css/src/nav.css @@ -154,7 +154,7 @@ button.see-more { } /* ================= TEXT ITEM ================= */ -.panel .text { +.texts .text { margin-bottom: var(--unit--vertical); } .panel .text:first-child, diff --git a/site/blueprints/pages/year.yml b/site/blueprints/pages/year.yml index e8ea162..19bda70 100644 --- a/site/blueprints/pages/year.yml +++ b/site/blueprints/pages/year.yml @@ -7,6 +7,13 @@ image: columns: - width: 1/3 sections: + fieldsSection: + type: fields + fields: + openDate: + label: Date d'ouverture + type: date + display: DD/MM/YYYY texts: label: Textes type: pages diff --git a/site/templates/year.php b/site/templates/year.php index 73726d6..01861cb 100644 --- a/site/templates/year.php +++ b/site/templates/year.php @@ -1,39 +1,44 @@ - - +
-
- - -

title() ?>

-
edito() ?>
- -

textes :

- - - -
-
\ No newline at end of file + +