Add rudimentary script for generating the forum archive.

This commit is contained in:
2020-08-10 01:21:33 -05:00
parent 7026bc2b34
commit f3b0319d5a
15 changed files with 295 additions and 1 deletions

16
templates/posts.mustache Normal file
View File

@@ -0,0 +1,16 @@
{{>header}}
<h2><a href="../">{{board.name}}</a></h2>
<h3>{{thread.subject}} - Page {{next}}</h3>
{{>pagination}}
{{#posts}}
<article id="post-{{id_msg}}">
<header>
<h4>{{subject}}</h4>
<div><span class="label">Posted by:</span> {{poster_name}}</div>
<div><span class="label">Date:</span> {{datetime}}</div>
</header>
<section>{{{body}}}</section>
</article>
{{/posts}}
{{>pagination}}
{{>footer}}