Update atom.xml

This commit is contained in:
rottenwheel 2023-06-29 22:43:15 +00:00 committed by GitHub
parent 6798d5ffca
commit 044cd29488
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,11 +18,6 @@ layout: null
{% for post in site.posts limit: 10 %}
<entry>
{% assign post_image = post.image.path | default: post.image %}
{% if post_image %}
{% unless post_image contains "://" %}
{% assign post_image = post_image | absolute_url %}
{% endunless %}
<media:thumbnail xmlns:media="https://revuo-xmr.com/atom.xml" url="{{ post_image | xml_escape }}" />
<media:content medium="image" url="{{ post_image | xml_escape }}" xmlns:media="https://revuo-xmr.com/atom.xml" />
<title>{{ post.title }}</title>