Use html.build
This commit is contained in:
parent
d1b37461e0
commit
16795a92ee
@ -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) =>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user