Render posts with a function so we can change the count

This commit is contained in:
2025-05-15 15:35:51 -07:00
parent 6cb73bcf8f
commit 9f12248303
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>