From a0bfa540367cfef6c80100c003278e329a312de1 Mon Sep 17 00:00:00 2001 From: maximeg Date: Thu, 22 Feb 2024 16:34:21 +0100 Subject: [PATCH] correction featured images --- content/pages/Revue de presse/_index.md | 3 --- static/admin/config.yml | 4 +++- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/content/pages/Revue de presse/_index.md b/content/pages/Revue de presse/_index.md index 4e805b2..b237860 100644 --- a/content/pages/Revue de presse/_index.md +++ b/content/pages/Revue de presse/_index.md @@ -1,8 +1,5 @@ --- title: Revue de presse -description: "A few years ago, while visiting or, rather, rummaging about - Notre-Dame, the author of this book found, in an obscure nook of one of the - towers, the following word, engraved by hand upon the wall: —ANANKE." Description: C'est la description de la page featured_image: /vlcsnap-2022-08-13-18h09m04s198.png --- diff --git a/static/admin/config.yml b/static/admin/config.yml index b2fdf2c..4bbb478 100644 --- a/static/admin/config.yml +++ b/static/admin/config.yml @@ -22,11 +22,13 @@ collections: name: title widget: string - label: Description - name: Description + name: description widget: text - label: Image de couverture name: featured_image widget: file + media_folder: "/static/images" + public_folder: "/images" - label: Corps name: body widget: markdown