From 14bf1b68a7a978980095b18994b27efd6303899d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nuno=20Cora=C3=A7=C3=A3o?= Date: Sat, 15 Oct 2022 12:57:11 +0100 Subject: [PATCH] add images to rss --- layouts/_default/index.rss.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/layouts/_default/index.rss.xml b/layouts/_default/index.rss.xml index 068427e3..07bc34a8 100644 --- a/layouts/_default/index.rss.xml +++ b/layouts/_default/index.rss.xml @@ -38,7 +38,8 @@ {{- $featured := $images.GetMatch "*feature*" -}} {{- if not $featured }}{{ $featured = $images.GetMatch "{*cover*,*thumbnail*}" }}{{ end -}} {{- with $featured -}} - + + {{- end -}} {{ end }}