From 7dc00e33c4312517a31bc885a165bc124bff0caf Mon Sep 17 00:00:00 2001 From: Catalin Constantin Mititiuc Date: Mon, 16 Jun 2025 20:18:05 -0700 Subject: [PATCH] Rename function --- blog.html | 2 +- index.html | 2 +- site.moon | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/blog.html b/blog.html index c4100af..1be85c7 100644 --- a/blog.html +++ b/blog.html @@ -1,3 +1,3 @@

Posts

-$just_render_the_damn_list{} +$list_posts{} diff --git a/index.html b/index.html index eeccc5e..ec3575c 100644 --- a/index.html +++ b/index.html @@ -2,7 +2,7 @@ $render{"templates/wares"}

Posts

-$just_render_the_damn_list{limit = 5} +$list_posts{limit = 5}

View more posts diff --git a/site.moon b/site.moon index 9afab1e..d84914d 100644 --- a/site.moon +++ b/site.moon @@ -87,7 +87,7 @@ sitegen.create => @titleize = (slug) => titleize_slug slug @cif = (args, has_block) => cosmo.cif args, has_block - @just_render_the_damn_list = (arg={}, _) => + @list_posts = (arg={}, _) => posts = [post for post in *get_posts @, arg.limit] html.build ->