Render posts with a function so we can change the count
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user