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
Jeff Becker a9ac1207c0
* add thumnail class to post thumbnails
* fix typo in css
2016-02-15 15:51:17 -05:00

32 lines
1.0 KiB
Plaintext

<div id="{{PostHash}}" class="{{CSSClass}}">
<div 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}}
</div>
<legend>
<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>
</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>