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