From a3611c2c76de0f3a7aab9a65887147d92885e5c3 Mon Sep 17 00:00:00 2001 From: Sergio Alejandro Vargas Date: Wed, 26 Jul 2023 14:39:58 -0500 Subject: [PATCH] Add attributes to base_url link in atom template The `rel` and `type` HTML attributes are needed in the `base_url` (or `section.permalink`) link so feed aggregators know that's the HTML page that corresponds to the atom feed. Note: The RSS template doesn't have this issue. --- components/templates/src/builtins/atom.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/templates/src/builtins/atom.xml b/components/templates/src/builtins/atom.xml index 2f16095563..de8007174f 100644 --- a/components/templates/src/builtins/atom.xml +++ b/components/templates/src/builtins/atom.xml @@ -8,8 +8,8 @@ {%- if config.description %} {{ config.description }} {%- endif %} - - + + {{ page.permalink | safe }} {% if page.summary %} {{ page.summary }}