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