readd: enclosure tag

This commit is contained in:
rottenwheel 2023-07-13 21:15:21 +00:00 committed by GitHub
parent 6f6b369ea5
commit 24ab4d5862
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,8 +18,7 @@ layout: null
{% for post in site.posts limit: 10 %} {% for post in site.posts limit: 10 %}
<entry> <entry>
<media:thumbnail xmlns:media="https://revuo-xmr.com/atom.xml" url="{{ post_image | xml_escape }}" /> <enclosure href="https://revuo-xmr.com{{ page.image }}" />
<media:content medium="image" url="{{ post_image | xml_escape }}" xmlns:media="https://revuo-xmr.com/atom.xml" />
<title>{{ post.title }}</title> <title>{{ post.title }}</title>
<link href="{{ site.url }}{{ post.url }}.html"/> <link href="{{ site.url }}{{ post.url }}.html"/>
<id>{{ site.url }}{{ post.id }}</id> <id>{{ site.url }}{{ post.id }}</id>