From 1de1dd56de187427a8f9fe33462b6029a34c4ac9 Mon Sep 17 00:00:00 2001 From: "Sergio A. Vargas" Date: Thu, 27 Jul 2023 16:04:37 -0500 Subject: [PATCH] Add attributes to base_url link in atom template (#2261) 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 4d8b3ec6e..153317599 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 }}