generate the summary and the document objects from inside the webpage() function

This commit is contained in:
Jean-Marie 'Histausse' Mineau 2026-06-17 23:25:39 +02:00
parent 500a6ad181
commit f7db139b0d
Signed by: histausse
GPG key ID: B66AEEDA9B645AD2
10 changed files with 234 additions and 144 deletions

View file

@ -63,12 +63,12 @@
).map(it => xml-tag(
"item",
children: (
xml-tag("title", body: it.document-args.title),
xml-tag("link", body: it.template-args.base-url + it.template-args.path),
xml-tag("guid", body: it.template-args.base-url + it.template-args.path),
xml-tag("description", body: it.document-args.description),
xml-tag("pubDate", body: it.document-args.date.display(date-format-rfc822)),
) + it.template-args.tags.map(tag => xml-tag("category", body: tag))
xml-tag("title", body: it.title),
xml-tag("link", body: it.url),
xml-tag("guid", body: it.url),
xml-tag("description", body: it.description),
xml-tag("pubDate", body: it.date.display(date-format-rfc822)),
) + it.tags.map(tag => xml-tag("category", body: tag))
))
xml-tag(
"rss",