From d5b6310882662f75403becc05abc3d83b057b37b Mon Sep 17 00:00:00 2001 From: Michael Currin <18750745+MichaelCurrin@users.noreply.github.com> Date: Fri, 17 Sep 2021 11:58:20 +0200 Subject: [PATCH 1/2] refactor: use absolute URLs in atom.xml --- atom.xml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/atom.xml b/atom.xml index 25699bf536..08a1ca442c 100644 --- a/atom.xml +++ b/atom.xml @@ -6,8 +6,8 @@ layout: null {{ site.title | xml_escape }} {{ site.description | xml_escape }} - {{ site.url }} - + {{ '/' | absolute_url }} + {{ site.author.name }} {{ site.author.email }} @@ -18,9 +18,10 @@ layout: null {{ post.title | xml_escape }} {{ post.content | xml_escape }} {{ post.date | date: "%a, %d %b %Y %H:%M:%S %z" }} - {{ site.url }}/{{ post.url }} - - {{ site.url }}{{ post.url }} + {% assign post_url = post.url | absolute_url %} + {{ post_url }} + + {{ post_url }} {% endfor %} From c7e74b8bcdaafdc1297321b63fa4be633446adaf Mon Sep 17 00:00:00 2001 From: Michael Currin <18750745+MichaelCurrin@users.noreply.github.com> Date: Fri, 17 Sep 2021 12:03:56 +0200 Subject: [PATCH 2/2] fix: update URL --- atom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atom.xml b/atom.xml index 08a1ca442c..058a867161 100644 --- a/atom.xml +++ b/atom.xml @@ -7,7 +7,7 @@ layout: null {{ site.title | xml_escape }} {{ site.description | xml_escape }} {{ '/' | absolute_url }} - + {{ site.author.name }} {{ site.author.email }}