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/thread.mustache

59 lines
2.6 KiB
Plaintext
Raw Normal View History

2017-04-19 04:42:46 +05:00
{{!
thread.mustache -- renders to a thread-*.html page, shows the entire thread
template parameters:
- board ( the Board Model of the board this thread was posted in )
- thread ( the Thread Model of the current thread being rendered )
Thread Model attributes:
- OP , the Post Model of the original poster
- Replies , a list of all the replies or empty if none
- Board , the name of the Board this thread is on
- BoardURL , the url that points to the board index page
}}
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
2017-04-19 21:21:23 +05:00
"http://www.w3.org/TR/html4/strict.dtd>"
2017-04-19 21:05:27 +05:00
<html 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>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
2017-07-27 18:42:04 +05:00
<meta name="viewport" content="width=device-width, initial-scale=1" />
2017-04-19 18:49:13 +05:00
<link rel="stylesheet" href="{{thread.Prefix}}static/krane.css" />
<link rel="stylesheet" href="{{thread.Prefix}}static/user.css" />
<script type="text/javascript" src="{{thread.Prefix}}static/overchan.js"></script>
2017-04-19 20:43:09 +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-04-19 20:59:01 +05:00
<meta property="og:description" content="thread no. {{thread.OP.PostHash}} on changolia"/>
2017-10-10 21:34:39 +05:00
<meta property="og:url" content="{{prefix}}t/{{thread.OP.PostHash}}/?lang={{i18n.Name}}"/>
2017-04-19 20:43:09 +05:00
<meta property="og:image"
2017-04-19 21:27:05 +05:00
content="{{prefix}}static/changolia-logo.png"/>
2017-04-19 04:42:46 +05:00
</head>
2017-04-19 18:53:03 +05:00
<body class="threadpage">
2017-04-19 05:08:44 +05:00
{{{thread.Navbar}}}
2017-04-19 04:42:46 +05:00
<hr />
<div class="sitetitle">
2017-10-10 21:34:39 +05:00
<h2><a href="{{thread.Prefix}}?lang={{i18n.Name}}">CHANGOLIA</a></h2>
2017-04-19 17:55:52 +05:00
<b>Most of the rest of the wild west.</b>
2017-04-19 04:42:46 +05:00
</div>
2017-10-10 21:39:16 +05:00
<center><b><a href="{{thread.BoardURL}}">{{thread.Board}}</a></b></center>
2017-04-19 05:10:36 +05:00
<br />
2017-04-19 04:47:08 +05:00
{{{form}}}
2017-04-19 04:42:46 +05:00
2017-04-19 20:09:26 +05:00
<div class="thread" id="thread_{{thread.OP.PostHash}}">
2017-04-19 04:45:36 +05:00
{{{thread.OP.RenderPost}}}
{{#thread.Replies}}
2017-04-19 04:42:46 +05:00
{{{RenderPost}}}
2017-04-19 04:45:36 +05:00
{{/thread.Replies}}
2017-04-19 04:42:46 +05:00
</div>
<hr style="clear: both;">
<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>