Skip to content

Commit

Permalink
[FEATURE] Include featured image in rss feed
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminkott committed Mar 19, 2020
1 parent 08d3aa4 commit a829875
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Resources/Private/Partials/List/Post.rss
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@
</f:if>
<guid><blogvh:link.post post="{post}" returnUri="true" createAbsoluteUri="true" /></guid>
<description><f:if condition="{post.abstract}"><f:then>{post.abstract}</f:then><f:else>{post.description}</f:else></f:if></description>
<f:if condition="{post.featuredImage}">
<enclosure
length="{post.featuredImage.originalResource.size}"
type="{post.featuredImage.originalResource.mimeType}"
url="{f:uri.image(image: post.featuredImage, absolute: '1')}" />
</f:if>
</item>
</f:spaceless>
</html>

0 comments on commit a829875

Please sign in to comment.