Skip to content
This repository has been archived by the owner on Mar 14, 2024. It is now read-only.

Commit

Permalink
Fix broken RSS feeds (#10424)
Browse files Browse the repository at this point in the history
  • Loading branch information
tunetheweb authored Sep 29, 2023
1 parent e54072d commit f5086ad
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/site/_includes/feed.njk
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<link href="{{ absolutePostUrl }}"/>
<updated>{{ post.date | rssDate }}</updated>
<id>{{ absolutePostUrl }}</id>
<content type="text/html" mode="escaped">{{ post.templateContent | replace("web-copy-code", "div") | htmlToAbsoluteUrls(absolutePostUrl) }}</content>
<content type="html" mode="escaped">{{ post.templateContent | replace("web-copy-code", "div") | htmlToAbsoluteUrls(absolutePostUrl) }}</content>
{% for entry in post.data.authors %}
{%- set author = collections.authors[entry] -%}
<author>
Expand Down
2 changes: 1 addition & 1 deletion src/site/content/en/authors/feed.njk
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ pagination:
<link href="{{ absolutePostUrl }}"/>
<updated>{{ post.date | rssDate }}</updated>
<id>{{ absolutePostUrl }}</id>
<content type="text/html" mode="escaped">{{ post.templateContent | replace("web-copy-code", "div") | htmlToAbsoluteUrls(absolutePostUrl) }}</content>
<content type="html" mode="escaped">{{ post.templateContent | replace("web-copy-code", "div") | htmlToAbsoluteUrls(absolutePostUrl) }}</content>
{% for entry in post.data.authors %}
{%- set author = collections.authors[entry] -%}
<author>
Expand Down
2 changes: 1 addition & 1 deletion src/site/content/en/shows/feed.njk
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ pagination:
<link href="{{ absolutePostUrl }}"/>
<updated>{{ post.date | rssDate }}</updated>
<id>{{ absolutePostUrl }}</id>
<content type="text/html" mode="escaped">{{ post.data.description | md({linkify: true, breaks: true, xhtmlOut: true}) | safe }}</content>
<content type="html" mode="escaped">{{ post.data.description | md({linkify: true, breaks: true, xhtmlOut: true}) | safe }}</content>
{% for entry in post.data.authors %}
{%- set author = collections.authors[entry] -%}
<author>
Expand Down
2 changes: 1 addition & 1 deletion src/site/content/en/tags/feed.njk
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ pagination:
<link href="{{ absolutePostUrl }}"/>
<updated>{{ post.date | rssDate }}</updated>
<id>{{ absolutePostUrl }}</id>
<content type="text/html" mode="escaped">{{ post.templateContent | replace("web-copy-code", "div") | htmlToAbsoluteUrls(absolutePostUrl) }}</content>
<content type="html" mode="escaped">{{ post.templateContent | replace("web-copy-code", "div") | htmlToAbsoluteUrls(absolutePostUrl) }}</content>
{% for entry in post.data.authors %}
{%- set author = collections.authors[entry] -%}
<author>
Expand Down

0 comments on commit f5086ad

Please sign in to comment.