This commit is contained in:
Catalin Constantin Mititiuc 2025-06-16 20:18:05 -07:00
parent 7dc00e33c4
commit 9f2b1a637e

View File

@ -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 {