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

Fix broken RSS feeds #10424

Merged
merged 1 commit into from
Sep 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading