Match bDS2 canonical file serialization

This commit is contained in:
2026-07-22 20:19:21 +02:00
parent fdf47da40a
commit 7b8e539340
17 changed files with 706 additions and 338 deletions

View File

@@ -81,6 +81,10 @@ invariant MenuPersistedAsOpml {
-- OPML outline attributes: text (label), type (kind),
-- pageSlug (slug for page/home), categoryName (slug for category_archive).
-- Nested <outline> elements represent submenu children.
-- The head title is the project name. dateCreated and dateModified both use
-- the project's updated timestamp, falling back to created timestamp.
-- Empty outlines have one space before '/>' and the document ends in one
-- newline, matching bDS2's canonical serializer.
parse_opml(read_file("meta/menu.opml")) = menu.items
}