Skip to content

Commit 5ca938d

Browse files
committed
feat: add blog post workflow and include enclosure tags in feed.xml
1 parent 3c2771f commit 5ca938d

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

feed.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ layout: null
1717
<guid isPermaLink="true">{{ post.url | absolute_url }}</guid>
1818
<description>{{ post.excerpt | strip_html | truncatewords: 30 | xml_escape }}</description>
1919
{%- capture teaser_path -%}{% include auto-teaser-path.html post=post %}{%- endcapture -%}
20-
<media:content url="{{ teaser_path | strip | absolute_url }}" medium="image" />
20+
{%- assign teaser_url = teaser_path | strip | absolute_url -%}
21+
<media:content url="{{ teaser_url }}" medium="image" />
22+
<enclosure url="{{ teaser_url }}" type="image/png" length="0" />
2123
</item>
2224
{% endfor %}
2325
</channel>

0 commit comments

Comments
 (0)