fix post lists
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
Here you can find all my previous posts:
|
||||
$partial("templates/post-list.md")$
|
||||
|
||||
$partial("templates/post-list.html")$
|
||||
@@ -28,7 +28,7 @@
|
||||
|
||||
<article id="content">
|
||||
<h1>$title$</h1>
|
||||
$body$
|
||||
$body$
|
||||
</article>
|
||||
</div>
|
||||
|
||||
|
||||
5
templates/post-list.html
Normal file
5
templates/post-list.html
Normal file
@@ -0,0 +1,5 @@
|
||||
<ul>
|
||||
$for(posts)$
|
||||
<li><a href="$url$"> $title$ - $date$</a></li>
|
||||
$endfor$
|
||||
</ul>
|
||||
@@ -1,3 +0,0 @@
|
||||
$for(posts)$
|
||||
* [$title$]($url$) - $date$
|
||||
$endfor$
|
||||
Reference in New Issue
Block a user