feat: add tags to RSS feed
This commit is contained in:
parent
acf73b0be4
commit
8f806d5cb9
1 changed files with 2 additions and 1 deletions
|
@ -65,7 +65,8 @@
|
|||
<description><% xmlEscape(a.summary) %></description>
|
||||
<link>https://mzte.de/a/<% a.id %>/</link>
|
||||
<pubDate><% dayOfWeek(day, month, year) %>, <% day %> <% months[month] %> <% year %> 00:00:00 +0000</pubDate>
|
||||
<! -- TODO: set `category` field with tags !>
|
||||
<! for _, t in ipairs(a.tags) do !><category><% t %></category>
|
||||
<! end !>
|
||||
</item>
|
||||
<! end !>
|
||||
</channel>
|
||||
|
|
Loading…
Reference in a new issue