diff --git a/index.html b/index.html index 6aac3df..6cfad87 100644 --- a/index.html +++ b/index.html @@ -1,4 +1,4 @@ -
just_render: $just_render_the_damn_list{limit = 2}
+just_render: $just_render_the_damn_list{}
$map{$do_unpack{}} diff --git a/site.moon b/site.moon index c9ca827..b653de3 100644 --- a/site.moon +++ b/site.moon @@ -235,13 +235,13 @@ sitegen.create => posts = [listing_info post for post in *get_posts @, arg.limit] html.build -> - return for post in *posts - tag.section { - tag.h3 { tag.a { post.title, href: post.url }} - tag.time { post.publish_date } - "—" - post.blurb - tag.a { "Read post →", href: post.url } + import section, h3, time, a from tag + + return for { :title, :publish_date, :url, :blurb } in *posts + section { + h3 { a { title, href: url }} + time { publish_date } + "—", blurb, a { "Read post →", href: url } } -- [tag.section { "hoh" } for post in *posts]