add stylesheet for syntax highlighting and add toc

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
2022-05-13 07:41:43 +05:30
parent 0e6d6d79a2
commit 0c4333e325
15 changed files with 223 additions and 281 deletions

View File

@@ -0,0 +1,23 @@
<ul>
$for(posts)$
<li class="post-item post-preview-item" style="list-style-type: none;" >
<article>
<h1 class="post-title">$title$</h1>
<div class="post-header">
<div class="post-date" >
Posted $date$
</div>
<div class="tags" >
$if(tags)$
Tags: $tags$
$endif$
</div>
</div>
<div class="post-teaser">
$teaser$
</div>
<a href="$url$">Read more</a>
</article>
</li>
$endfor$
</ul>