Archived
1
0
This repository has been archived on 2023-08-12. You can view files and clone it, but cannot push or open issues or pull requests.
nntpchan/contrib/templates/placebo/board.mustache

73 lines
3.0 KiB
Plaintext
Raw Normal View History

2017-04-19 04:42:46 +05: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 )
- Navbar ( a function that renders the navbar, should not be escaped )
- Threads ( a list of Thread Models with the last few replies )
2017-04-19 04:50:00 +05:00
}}
2017-10-17 17:24:53 +05:00
<!doctype html>
2017-10-17 17:06:50 +05:00
<html xmlns="http://www.w3.org/1999/xhtml" lang="{{i18n.Name}}" xml:lang="{{i18n.Name}}" prefix="og: http://ogp.me/ns# fb: https://www.facebook.com/2008/fbml">
2017-04-19 04:42:46 +05:00
<head>
<title>{{board.Board}}</title>
2017-10-17 17:15:58 +05:00
<meta lang="{{i18n.Name}}">
2017-07-27 18:42:04 +05:00
<meta name="viewport" content="width=device-width, initial-scale=1" />
2017-04-19 04:42:46 +05:00
<meta http-equiv="content-type" content="text/html; charset=utf-8">
2017-04-19 18:49:13 +05:00
<link rel="stylesheet" href="{{board.Prefix}}static/krane.css" />
<link rel="stylesheet" href="{{board.Prefix}}static/user.css" />
<script type="text/javascript" src="{{board.Prefix}}static/overchan.js"></script>
2017-04-19 20:45:14 +05:00
<meta property="og:site_name" content="changolia" />
<meta property="og:type" content="website"/>
2017-04-19 20:50:11 +05:00
<meta property="og:title" content="{{board.Board}}"/>
2017-10-10 21:34:39 +05:00
<meta property="og:url" content="{{board.Prefix}}b/{{board.Board}}/?lang={{i18n.Name}}"/>
2017-04-19 20:50:11 +05:00
<meta property="og:description" content="{{board.Board}} on changolia"/>
2017-04-19 20:45:14 +05:00
<meta property="og:image"
content="{{board.Prefix}}static/changolia-logo.png"/>
2017-04-19 04:42:46 +05:00
</head>
2017-04-19 18:53:03 +05:00
<body class="boardpage">
2017-04-19 05:08:44 +05:00
{{{board.Navbar}}}
2017-04-19 04:42:46 +05:00
<div class="sitetitle">
2017-04-19 17:55:52 +05:00
<h2><a href="#">CHANGOLIA</a></h2>
<b>Most of the rest of the wild west.</b>
2017-04-19 04:42:46 +05:00
</div>
2017-04-19 05:00:38 +05:00
<center><b>{{board.Name}}</b></center>
2019-09-16 16:00:50 +05:00
<center><button class="spam-button" onclick="nntpchan_mod_commit_spam(this)">Moderate</button></center>
2017-04-19 05:10:36 +05:00
<br />
2017-04-19 04:50:00 +05:00
{{{form}}}
2017-04-19 04:54:08 +05:00
{{#board.Threads}}
2018-03-09 17:01:33 +05:00
{{#BumpLock}}
2018-03-09 17:07:44 +05:00
<div class="thread bumplock" id="thread_{{OP.PostHash}}">
{{/BumpLock}}
2018-03-09 17:01:33 +05:00
{{^BumpLock}}
2017-04-19 20:05:32 +05:00
<div class="thread" id="thread_{{OP.PostHash}}">
2018-03-09 17:01:33 +05:00
{{/BumpLock}}
{{#Truncate}}
2017-04-19 04:50:00 +05:00
{{{OP.RenderPost}}}
2017-04-19 16:03:36 +05:00
<div class="excluded">{{MissingPostCount}} posts excluded</div>
2017-04-19 04:50:00 +05:00
{{#Replies}}
{{{RenderPost}}}
{{/Replies}}
2017-04-19 04:42:46 +05:00
</div>
<hr style="clear: both;">
2017-04-19 04:50:00 +05:00
{{/Truncate}}
2017-04-19 04:54:08 +05:00
{{/board.Threads}}
2017-07-27 18:46:58 +05:00
{{{board.Navbar}}}
<hr />
2017-04-19 04:42:46 +05:00
<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>
2017-04-19 04:57:18 +05:00
<hr />
2017-04-19 20:05:32 +05:00
<script type="text/javascript">
ready();
</script>
2017-04-19 04:42:46 +05:00
</body>
</html>