1
0
Fork 0
mirror of https://github.com/safing/web synced 2025-04-17 01:19:08 +00:00

Do not use front matter category to generate xml <category>

tags are what we use for this, not category
This commit is contained in:
davegson 2021-03-25 18:06:41 +01:00
parent cdbea9a2ce
commit ea6750b397
2 changed files with 0 additions and 6 deletions

View file

@ -22,9 +22,6 @@ layout: null
{% for tag in post.tags %}
<category>{{ tag | xml_escape }}</category>
{% endfor %}
{% for cat in post.categories %}
<category>{{ cat | xml_escape }}</category>
{% endfor %}
</item>
{% endfor %}
</channel>

View file

@ -50,9 +50,6 @@ layout: null
<link>{{ site.url }}{{ episode.url }}</link>
<pubDate>{{ episode.date | date: "%a, %d %b %Y %T %z" }}</pubDate>
<dc:creator><![CDATA[{{ site.podcast_author | cdata_escape }}]]></dc:creator>
{% for category in episode.categories %}
<category><![CDATA[{{ category | cdata_escape }}]]></category>
{% endfor %}
{% for category in episode.tags %}
<category><![CDATA[{{ category | cdata_escape }}]]></category>
{% endfor %}