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/default/post.mustache
2016-02-15 16:29:54 -05:00

32 lines
1.1 KiB
Plaintext

<div id="{{PostHash}}" class="{{CSSClass}}">
<legend class="postheader">
<span class="subject">{{Subject}}</span>
<span class="name">{{Name}}</span>
<time datetime="{{DateRFC}}">{{Date}}</time>
<a href="{{PostURL}}" class="postnol">No.</a><a class="postno" onclick="nntpchan_backlink('{{ShortHash}}');" title="{{MessageID}}">{{ShortHash}}</a>
{{#OP}}<a href="{{PostURL}}">[Reply]</a>{{/OP}}
<span class="tripcode">{{{Pubkey}}}</span>
<span class="origin">
{{#IsI2P}}
<img src="{{Prefix}}static/i2p.png" title="post from i2p" />
{{/IsI2P}}
{{#IsTor}}
<img src="{{Prefix}}static/tor.png" title="post from tor" />
{{/IsTor}}
{{#IsClearnet}}
<img src="{{Prefix}}static/clearnet.png" title="post from clearnet" />
{{/IsClearnet}}
</span>
</legend>
{{#Attachments}}
<figure>
<figcaption>
<a href="{{Source}}" title="{{Filename}}" target="_blank"><img src="{{Thumbnail}}" alt="{{Filename}}" class="thumbnail"/></a>
</figcaption>
</figure>
{{/Attachments}}
<div class="post_body">
{{{RenderBody}}}
</div>
</div>