resrok-web/templates/post.html

32 lines
541 B
HTML
Raw Permalink Normal View History

2021-11-04 09:46:37 +00:00
<div class="post">
<h1 class="post-title">
<a href="$url$">
$title$
</a>
</h1>
<span class="post-date">$date$,
$if(author)$
Posted by $author$
$endif$
</span>
$body$
</div>
$if(related_posts)$
<div class="related">
<h2>Related posts</h2>
<ul class="related-posts">
$for(related_posts)$
<li>
<h3>
<a href="$url$">
$title$
<small>$date$</small>
</a>
</h3>
</li>
$endfor$
</ul>
</div>
$endif$