Use html.build

This commit is contained in:
Catalin Constantin Mititiuc 2025-06-16 20:18:05 -07:00
parent d1b37461e0
commit 16795a92ee

View File

@ -98,7 +98,7 @@ sitegen.create =>
is_a: "post"
publish_date: publish_date(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
filter "docs", (body) =>