This repository has been archived on 2023-08-12. You can view files and clone it. You cannot open issues or pull requests or push a commit.
2015-08-05 07:45:16 -04:00
|
|
|
{{!
|
|
|
|
|
board.mustache, displays the contents of page N of the board
|
|
|
|
|
|
|
|
|
|
template parameters:
|
|
|
|
|
- board ( the model of the current page )
|
|
|
|
|
- page ( the page number of the current page )
|
|
|
|
|
|
|
|
|
|
board has the properties:
|
|
|
|
|
- Prefix ( absolute path like //site.tld/ or /path/ )
|
|
|
|
|
- Board ( the name of the board )
|
2015-08-05 08:25:33 -04:00
|
|
|
- Navbar ( a function that renders the navbar, should not be escaped )
|
2015-08-05 07:45:16 -04:00
|
|
|
- Threads ( a list of Thread Models with the last few replies )
|
|
|
|
|
}}
|
2015-12-23 01:02:11 +01:00
|
|
|
<!doctype html>
|
2015-08-04 10:03:44 -04:00
|
|
|
<html>
|
|
|
|
|
<head>
|
2015-12-23 01:02:11 +01:00
|
|
|
<link rel="stylesheet" type="text/css" href="/static/user.css">
|
2015-08-04 10:03:44 -04:00
|
|
|
<title>{{board.Board}}</title>
|
|
|
|
|
</head>
|
|
|
|
|
<body>
|
2015-08-05 07:45:16 -04:00
|
|
|
{{{board.Navbar}}}
|
2015-12-23 01:02:11 +01:00
|
|
|
{{{form}}}
|
|
|
|
|
<dl>
|
|
|
|
|
<hr>
|
|
|
|
|
{{#board.Threads}}
|
|
|
|
|
{{{OP.Truncate.RenderPost}}}
|
|
|
|
|
{{#Truncate.Replies}}
|
|
|
|
|
{{{Truncate.RenderPost}}}
|
|
|
|
|
{{/Truncate.Replies}}
|
|
|
|
|
<hr>
|
|
|
|
|
{{/board.Threads}}
|
|
|
|
|
</dl>
|
2015-08-04 10:03:44 -04:00
|
|
|
</body>
|
|
|
|
|
</html>
|