Skip to content

Commit

Permalink
fixed error in rss feeds when there's no post title image.
Browse files Browse the repository at this point in the history
  • Loading branch information
hutt committed Dec 30, 2024
1 parent 793084b commit 657321e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rss.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@
<category><![CDATA[ {{primary_tag.name}} ]]></category>
<dc:creator><![CDATA[ {{primary_author.name}} ]]></dc:creator>
<pubDate>{{date locale="en-us" format="ddd, DD MMM YYYY HH:mm:ss ZZ"}}</pubDate>
{{#if feature_image}}
<media:content url="{{feature_image}}" medium="image"/>
{{/if}}
<content:encoded><![CDATA[ {{content}} ]]></content:encoded>
</item>
{{/foreach}}
Expand Down

0 comments on commit 657321e

Please sign in to comment.