mirror of
https://github.com/osmarks/website
synced 2024-12-24 00:50:31 +00:00
16 lines
481 B
Plaintext
16 lines
481 B
Plaintext
|
doctype xml
|
||
|
rss(version='2.0')
|
||
|
channel
|
||
|
title= name
|
||
|
description= siteDescription
|
||
|
link= `https://${domain}/`
|
||
|
lastBuildDate= new Date().toUTCString()
|
||
|
pubDate= lastUpdate.toUTCString()
|
||
|
|
||
|
each item in items
|
||
|
item
|
||
|
title= item.title
|
||
|
description= item.description
|
||
|
link= `https://${domain}/${item.slug}`
|
||
|
if item.updated
|
||
|
pubDate= item.updated.toDate().toUTCString()
|