From 396a4f85204862af26b5b2c8c76f8836c0dc5ec1 Mon Sep 17 00:00:00 2001 From: Benjamin Bach Date: Sat, 16 Dec 2023 22:29:04 +0100 Subject: [PATCH] Some comment on how that works --- config.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config.yaml b/config.yaml index 3877f7f0..4dcd4c2d 100644 --- a/config.yaml +++ b/config.yaml @@ -18,6 +18,11 @@ languages: da: title: data.coop weight: 1 + # First Hugo looks in your post front matter for an images value (images: [""]) + # Then Hugo searchs for image page resources with feature, cover or thumbnail in their name. These are images files under a directory that matches the post (e.g. content\posts\first-post) + # If not images are found, Hugo looks for images (images: [""]) in your site config + # If no image if found, then an image-less Twitter summary card is used instead of summary_large_image + # https://digitaldrummerj.me/hugo-preview-when-sharing-twitter/ images: ["/static/img/some_card_preview_large_en.png"] LanguageName: Dansk menu: