ad_pubfiles/ori-templates/changelog-feed.ori

20 lines
764 B
Plaintext

// The posts in JSON Feed format
(description, outline, all) => {
version: "https://jsonfeed.org/version/1.1"
title: "Changelog — hansfast.net"
feed_url: `${config.ori(all)/siteurl}/changelog.json`
home_page_url: config.ori(all)/siteurl
user_comment: "You are looking at the raw feed data for this site's changelog. This data is meant to be consumed by a 'feed reader'. Look for your software's instructions on how to add this url."
description
// Map the post data to JSON Feed items
items: Tree.values(Tree.map(outline, (value, key) => {
date_published: post.date
id: url
title: post.title
url: `${config.ori(all)/siteurl}/changelog#${Origami.slug(key)}`
content_text: value
content_html: Origami.mdHtml(value)
}))
}