47 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			47 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
{{!
 | 
						|
 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 )
 | 
						|
  - Navbar ( a function that renders the navbar, should not be escaped )
 | 
						|
  - Threads ( a list of Thread Models with the last few replies )
 | 
						|
                                   }}
 | 
						|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
 | 
						|
          "http://www.w3.org/TR/html4/strict.dtd">
 | 
						|
<html>
 | 
						|
    <head>
 | 
						|
        <title>{{board.Board}}</title>
 | 
						|
        <meta http-equiv="content-type" content="text/html; charset=utf-8">
 | 
						|
        <link rel="stylesheet" href="/static/krane.css" />
 | 
						|
    </head>
 | 
						|
    <body>
 | 
						|
        {{{ board.Navbar }}}
 | 
						|
        <hr />
 | 
						|
        <div class="sitetitle">
 | 
						|
            <h2><a href="{{Prefix}}">OVERCHAN</a></h2>
 | 
						|
            <b>decentralized and distributed</b>
 | 
						|
        </div>
 | 
						|
        <center><b>{{Board.Name}}</b></center>
 | 
						|
        {{{Postform}}}
 | 
						|
        {{#Threads}}
 | 
						|
            <div class="thread">
 | 
						|
            {{{OP.RenderPost}}}
 | 
						|
            {{#Replies}}
 | 
						|
            {{{RenderPost}}}
 | 
						|
            {{/Replies}}
 | 
						|
            </div>
 | 
						|
            <hr style="clear: both;">
 | 
						|
        {{/Threads}}
 | 
						|
        <hr />
 | 
						|
        <footer>
 | 
						|
            <p class="legal">All posts on this site are the responsibility of the individual poster and not the administration, pursuant to 47 U.S.C. § 230.</p>
 | 
						|
            <p class="legal">To make a DMCA request or report illegal content, please contact the administration</p>
 | 
						|
        </footer>
 | 
						|
    </body>
 | 
						|
</html>
 |