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:
parent
cdbea9a2ce
commit
ea6750b397
2 changed files with 0 additions and 6 deletions
3
feed.xml
3
feed.xml
|
@ -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>
|
||||
|
|
|
@ -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 %}
|
||||
|
|
Loading…
Add table
Reference in a new issue