From 0ba2707316068ad15e2b917b6938b480f49fb44a Mon Sep 17 00:00:00 2001 From: Icy Defiance Date: Wed, 15 Mar 2023 05:12:59 -0400 Subject: [PATCH] Use page.summary if available (#2141) --- 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 acdd6b2e..8b2d331e 100644 --- a/components/templates/src/builtins/atom.xml +++ b/components/templates/src/builtins/atom.xml @@ -37,7 +37,11 @@ {{ page.permalink | safe }} + {% if page.summary %} + {{ page.summary }} + {% else %} {{ page.content }} + {% endif %} {%- endfor %}