sourcehypertextviewsgardenfeed.pug

doctype xml

feed(xmlns="http://www.w3.org/2005/Atom")
	title The Garden
	subtitle A blog by yours truly.
	link(href=`https://${baseDomain}/garden`)
	link(href=`https://${baseDomain}/garden/feed` rel="self")
	updated= lastUpdated
	id https://satyrs.eu/garden
	author: name Xanthe Tynehorne
	each post in posts
		entry
			if post.lang == "en"
				title= post.title
			else
				title #{post.title} (#{post.lang})
			link(href=`https://${baseDomain}/garden/${post.qualifiedSlug}`)
			updated= post.pageCreated
			id https://satyrs.eu/garden/#{post.qualifiedSlug}
			if post.markup == "html"
				content(type="html")= post.contents
			else if post.markup == "rubric"
				content(type="html")= filters["rubric-unsafe"](post.contents)