From 4f0c34b82b19674748484876488fd42e915e9ac2 Mon Sep 17 00:00:00 2001 From: Elo1L <118887329+Elo1L@users.noreply.github.com> Date: Sun, 10 Mar 2024 23:31:22 +0100 Subject: [PATCH] fix images --- content/_index.md | 3 --- static/admin/config.yml | 9 ++++----- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/content/_index.md b/content/_index.md index b93d9d5..592718a 100644 --- a/content/_index.md +++ b/content/_index.md @@ -2,9 +2,6 @@ title: Palette test (; description: Intéressant... theme_version: 2.8.2 -cascade: - featured_image: /images/gohugo-default-sample-hero-image.jpg -featured_image: static/images/vlcsnap-2022-08-13-18h09m04s198.png --- ## Contenu diff --git a/static/admin/config.yml b/static/admin/config.yml index afdb0d9..cb5354c 100644 --- a/static/admin/config.yml +++ b/static/admin/config.yml @@ -8,8 +8,8 @@ backend: site_url: 'https://palettetest.web.deuxfleurs.fr/' locale: 'fr' media_folder: "/static/images" -public_folder: "/images" media_library: + folder_support: true name: Bibliothèque config: max_file_size: 1024000 @@ -36,8 +36,8 @@ collections: - label: Image de couverture name: featured_image widget: image - media_folder: "/static/images" - public_folder: "/images" + media_library: + folder_support: false - label: Corps name: body widget: markdown @@ -61,9 +61,8 @@ collections: - label: Image de couverture name: featured_image widget: image - media_folder: "/static/images" - public_folder: "/images" media_library: + folder_support: false config: max_file_size: 1024000 - label: Corps