Archived
1
0

update templates, add docs to some

This commit is contained in:
jeff
2015-08-05 07:45:16 -04:00
parent 9f370d3985
commit 7b286140b3
12 changed files with 86 additions and 32 deletions

View File

@@ -1,3 +1,16 @@
{{!
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 )
- Navar ( a function that renders the navbar, should not be escaped )
- Threads ( a list of Thread Models with the last few replies )
}}
<html>
<head>
<meta charset="utf-8" />
@@ -7,7 +20,7 @@
</head>
<body>
<!-- begin header -->
{{{board.RenderNavbar}}}
{{{board.Navbar}}}
<!-- end header -->
<!-- postform -->