feat: add tags to RSS feed

This commit is contained in:
LordMZTE 2024-09-05 11:54:10 +02:00
parent acf73b0be4
commit 8f806d5cb9
Signed by: LordMZTE
GPG key ID: B64802DC33A64FF6

View file

@ -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>