Render posts with a function so we can change the count

This commit is contained in:
2025-06-16 20:18:04 -07:00
parent 2e5cdac3e3
commit 41c0dcdca0
5 changed files with 22 additions and 42 deletions

View File

@@ -10,7 +10,7 @@ $render{"templates/wares"}
<h2>Posts</h2>
<!-- render posts -->
$render{"posts"}
$(list_posts(5))
<h4 style="text-align: center;">
<a href="$root/posts">View more posts</a>