diff --git a/assets/css/custom-panel.css b/assets/css/custom-panel.css index fbfc565..1517354 100644 --- a/assets/css/custom-panel.css +++ b/assets/css/custom-panel.css @@ -94,4 +94,8 @@ } .k-header-title .k-icon{ --icon-size: 28px; +} + +.k-block-container:not(:last-of-type) { + border-bottom: 1px dashed var(--color-gray-600); } \ No newline at end of file diff --git a/site/blueprints/pages/article.yml b/site/blueprints/pages/article.yml index e921d61..d3441aa 100644 --- a/site/blueprints/pages/article.yml +++ b/site/blueprints/pages/article.yml @@ -92,6 +92,7 @@ tabs: accept: image/* translate: false image: + cover: true ratio: 16/9 uploads: template: image diff --git a/site/blueprints/pages/blog.yml b/site/blueprints/pages/blog.yml index b65cec5..5d8ab39 100644 --- a/site/blueprints/pages/blog.yml +++ b/site/blueprints/pages/blog.yml @@ -26,6 +26,16 @@ tabs: headings: - 1 help: Section de texte centrée. + featured: + label: Article à la une + type: pages + query: site.find('blog').children.listed + max: 1 + layout: cards + image: + cover: true + ratio: 16/9 + info: "{{ page.date.toDate('d/m/Y') }}" articles_list: label: Articles type: pages diff --git a/site/blueprints/pages/game.yml b/site/blueprints/pages/game.yml index dbb2ccc..ae45f6e 100644 --- a/site/blueprints/pages/game.yml +++ b/site/blueprints/pages/game.yml @@ -20,6 +20,19 @@ columns: main: type: fields fields: + lettering: + label: Lettrage du jeu + type: files + layout: cardlets + size: small + max: 1 + accept: image/* + translate: false + image: + ratio: 1/1 + uploads: + template: image + help: Image avec le lettrage du jeu description: label: Description type: writer