Add rudimentary script for generating the forum archive.
This commit is contained in:
16
templates/posts.mustache
Normal file
16
templates/posts.mustache
Normal 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}}
|
Reference in New Issue
Block a user