From 6e74837087bb9fdc881f466209cab19e3f56c606 Mon Sep 17 00:00:00 2001 From: Icy Defiance Date: Tue, 14 Mar 2023 20:32:20 -0400 Subject: [PATCH] Use page.summary if available --- components/templates/src/builtins/atom.xml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/components/templates/src/builtins/atom.xml b/components/templates/src/builtins/atom.xml index e515636d06..b47a69c7fe 100644 --- a/components/templates/src/builtins/atom.xml +++ b/components/templates/src/builtins/atom.xml @@ -26,7 +26,11 @@ {{ page.updated | default(value=page.date) | date(format="%+") }} {{ page.permalink | safe }} + {% if page.summary %} + {{ page.summary }} + {% else %} {{ page.content }} + {% endif %} {%- endfor %}