Use html.build

This commit is contained in:
Catalin Constantin Mititiuc 2025-05-16 23:33:37 -07:00
parent 0bbf998ebb
commit b6a63698b9

View File

@ -98,7 +98,7 @@ sitegen.create =>
is_a: "post" is_a: "post"
publish_date: publish_date(path) publish_date: publish_date(path)
id: extract_id(path) id: extract_id(path)
to_title: (slug) -> table.concat titleize_slug(slug), " " to_title: (slug) -> html.build -> titleize_slug(slug)
-- replace post markdown yaml headers with moonscript headers -- replace post markdown yaml headers with moonscript headers
filter "docs", (body) => filter "docs", (body) =>