Skip to content

Commit

Permalink
Switch to feed key from blog: site.feed
Browse files Browse the repository at this point in the history
  • Loading branch information
Jmuccigr authored Jan 6, 2024
1 parent b187ce9 commit 1376b62
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions lib/jekyll-feed/feed.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,20 +27,20 @@
<subtitle>{{ site.description | xml_escape }}</subtitle>
{% endif %}

{% if site.blog.icon %}
{% assign blog_icon = site.blog.icon %}
{% unless blog_icon contains "://" %}
{% assign blog_icon = blog_icon | absolute_url %}
{% if site.feed.icon %}
{% assign feed_icon = site.feed.icon %}
{% unless feed_icon contains "://" %}
{% assign feed_icon = feed_icon | absolute_url %}
{% endunless %}
<icon>{{ blog_icon | xml_escape }}</icon>
<icon>{{ feed_icon | xml_escape }}</icon>
{% endif %}

{% if site.blog.logo %}
{% assign blog_logo = site.blog.logo %}
{% unless blog_logo contains "://" %}
{% assign blog_logo = blog_logo | absolute_url %}
{% if site.feed.logo %}
{% assign feed_logo = site.feed.logo %}
{% unless feed_logo contains "://" %}
{% assign feed_logo = feed_logo | absolute_url %}
{% endunless %}
<logo>{{ blog_logo | xml_escape }}</logo>
<logo>{{ feed_logo | xml_escape }}</logo>
{% endif %}

{% if site.author %}
Expand Down

0 comments on commit 1376b62

Please sign in to comment.