mirror of
https://github.com/safing/web
synced 2025-09-01 18:49:06 +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 %}
|
{% for tag in post.tags %}
|
||||||
<category>{{ tag | xml_escape }}</category>
|
<category>{{ tag | xml_escape }}</category>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% for cat in post.categories %}
|
|
||||||
<category>{{ cat | xml_escape }}</category>
|
|
||||||
{% endfor %}
|
|
||||||
</item>
|
</item>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</channel>
|
</channel>
|
||||||
|
|
|
@ -50,9 +50,6 @@ layout: null
|
||||||
<link>{{ site.url }}{{ episode.url }}</link>
|
<link>{{ site.url }}{{ episode.url }}</link>
|
||||||
<pubDate>{{ episode.date | date: "%a, %d %b %Y %T %z" }}</pubDate>
|
<pubDate>{{ episode.date | date: "%a, %d %b %Y %T %z" }}</pubDate>
|
||||||
<dc:creator><![CDATA[{{ site.podcast_author | cdata_escape }}]]></dc:creator>
|
<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 %}
|
{% for category in episode.tags %}
|
||||||
<category><![CDATA[{{ category | cdata_escape }}]]></category>
|
<category><![CDATA[{{ category | cdata_escape }}]]></category>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Loading…
Add table
Reference in a new issue