Dwelling/homepage/views/rss.pug

22 lines
729 B
Plaintext
Raw Normal View History

2021-02-10 01:01:50 +04:00
doctype xml
rss(version='2.0')
channel
title Arav's dwelling
description Updates on my websites and infrastructure.
language en-gb
link #{protocol}://#{host}/
each item in items
item
title= item.title
category= item.category
guid!= rssLink(protocol, host, item.date, item.category.toLowerCase())
pubDate= item.date
link!= rssLink(protocol, host, item.date, item.category.toLowerCase())
author!= author
description
| <![CDATA[
each line in item.body.split("\n")
p!= line
| ]]>