Clean up
This commit is contained in:
parent
e12088f10d
commit
0369d5bb56
@ -1,10 +1,3 @@
|
||||
<h2>Posts</h2>
|
||||
|
||||
$(get_posts())[[
|
||||
<section>
|
||||
<h3><a href="$target">$post_title</a></h3>
|
||||
<time>$publish_date</time> — $blurb
|
||||
<a class="read-post-link" href="$target">Read post →</a>
|
||||
</section>
|
||||
]]
|
||||
|
||||
$each{list_posts(), "post"}[[$post]]
|
||||
|
@ -6,13 +6,7 @@ $render{"templates/wares"}
|
||||
|
||||
<h2>Posts</h2>
|
||||
|
||||
$(get_posts({limit = 5}))[[
|
||||
<section>
|
||||
<h3><a href="$target">$post_title</a></h3>
|
||||
<time>$publish_date</time> — $blurb
|
||||
<a class="read-post-link" href="$target">Read post →</a>
|
||||
</section>
|
||||
]]
|
||||
$each{list_posts({limit = 5}), "post"}[[$post]]
|
||||
|
||||
<h4 style="text-align: center;">
|
||||
<a href="$root/posts">View more posts</a>
|
||||
|
Loading…
x
Reference in New Issue
Block a user