So much better

This commit is contained in:
Catalin Constantin Mititiuc 2025-05-23 13:02:10 -07:00
parent 341fb76723
commit 05a6384900
2 changed files with 8 additions and 8 deletions

View File

@ -1,4 +1,4 @@
<p>just_render: $just_render_the_damn_list{limit = 2}</p> <p>just_render: $just_render_the_damn_list{}</p>
$map{$do_unpack{}} $map{$do_unpack{}}

View File

@ -235,13 +235,13 @@ sitegen.create =>
posts = [listing_info post for post in *get_posts @, arg.limit] posts = [listing_info post for post in *get_posts @, arg.limit]
html.build -> html.build ->
return for post in *posts import section, h3, time, a from tag
tag.section {
tag.h3 { tag.a { post.title, href: post.url }} return for { :title, :publish_date, :url, :blurb } in *posts
tag.time { post.publish_date } section {
"—" h3 { a { title, href: url }}
post.blurb time { publish_date }
tag.a { "Read post →", href: post.url } "—", blurb, a { "Read post →", href: url }
} }
-- [tag.section { "hoh" } for post in *posts] -- [tag.section { "hoh" } for post in *posts]