diff --git a/atom.xml b/atom.xml index 6c8dab0..9a99fd2 100644 --- a/atom.xml +++ b/atom.xml @@ -19,7 +19,13 @@ {{ post.date | date_to_xmlschema }} https://www.annashipman.co.uk{{ post.url }} - {{ post.content | xml_escape }} + {% assign content = post.content %} + {% capture href %}href="{{ site.url }}/{% endcapture %} + {% capture src %}src="{{ site.url }}/{% endcapture %} + {% capture converted_content %} + {{ content | replace: 'href="/', href | replace: 'src="/', src }} + {% endcapture %} + {{ converted_content | xml_escape }} {% endfor %}