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

24 lines
899 B
Plaintext
Raw Normal View History

2015-12-23 05:07:29 +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 )
- form ( the post form markup )
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
2015-12-23 05:33:03 +05:00
}}
2015-12-23 07:25:52 +05:00
<!doctype html><html><head><link rel="stylesheet" href="/static/chen-chan/main.css"><title>{{thread.OP.Subject}}</title><script type="text/javascript" src="{{thread.Prefix}}static/nntpchan.js"></script></head><body>
2015-12-23 05:07:29 +05:00
{{{thread.Navbar}}}
{{{form}}}
<dl>
{{{thread.OP.RenderPost}}}
{{# thread.Replies}}
{{{RenderPost}}}
{{/ thread.Replies}}
</dl>
</body></html>