WIP
This commit is contained in:
parent
254aa7b4e9
commit
33a2e4ab93
@ -96,6 +96,8 @@ sitegen.create =>
|
|||||||
return for post in *posts
|
return for post in *posts
|
||||||
{:title, :blurb, :id, publish_date: {iso, pretty}} = post.meta
|
{:title, :blurb, :id, publish_date: {iso, pretty}} = post.meta
|
||||||
url = rootname post\url_for!
|
url = rootname post\url_for!
|
||||||
|
md = post.site\get_renderer "renderers.markdown"
|
||||||
|
blurb = md\render @, blurb if blurb
|
||||||
if blurb then blurb = html.builders.raw! blurb
|
if blurb then blurb = html.builders.raw! blurb
|
||||||
|
|
||||||
section {
|
section {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user