diff --git a/atom.xml b/atom.xml index 0806865..d43f4a8 100644 --- a/atom.xml +++ b/atom.xml @@ -18,6 +18,11 @@ layout: null {% for post in site.posts limit: 10 %} + {% assign post_image = post.image.path | default: post.image %} + {% if post_image %} + {% unless post_image contains "://" %} + {% assign post_image = post_image | absolute_url %} + {% endunless %} {{ post.title }}