Render a list of posts
This commit is contained in:
parent
d5197a0a58
commit
0dc346f591
@ -6,7 +6,7 @@ $render{"templates/wares"}
|
||||
|
||||
<h2>Posts</h2>
|
||||
|
||||
$lp{limit = 5}
|
||||
$list_posts{limit = 5}
|
||||
|
||||
<h4 style="text-align: center;">
|
||||
<a href="$root/posts">View more posts</a>
|
||||
|
@ -119,8 +119,7 @@ sitegen.create =>
|
||||
@site_title = "WebDevCat.me"
|
||||
@app_name = "stasis"
|
||||
@version = "0.2.12"
|
||||
@list_posts = list_posts2
|
||||
@lp = list_posts
|
||||
@list_posts = list_posts
|
||||
|
||||
add "index.html", title: "Catalin Mititiuc"
|
||||
add "blog.html", title: "Posts", target: "posts/index", template: "blog"
|
||||
|
Loading…
x
Reference in New Issue
Block a user