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
2015-09-04 17:14:05 -04:00

43 lines
1.1 KiB
Plaintext

<div class="{{{CSSClass}}}" id="post_{{PostHash}}">
<p class="intro">
<label for="delete_{{PostHash}}">
<span class="frontend">
[[ {{Frontend}} ]]
</span>
<span class="subject">
{{Subject}}
</span>
<span class="name">
{{#Sage}}
<a href="mailto:sage">
{{Name}}
</a>
{{/Sage}}
{{^Sage}}
{{Name}}
{{/Sage}}
</span>
<span class="postdate">
{{Date}}
</span>
</label>
<a onclick="nntpchan_backlink('{{ShortHash}');">No. {{ShortHash}}</a>
{{#OP}}
<a href="{{PostURL}}">[reply]</a>
{{/OP}}
<span class="tripcode">{{{Pubkey}}}</span>
</p>
<div class="files">
{{#Attachments}}
<div class="file">
<p class="file_info">
<span>File: {{Filename}}</span>
</p>
<a target="_blank" class="file-link" href="{{Source}}" title="{{Filename}}">
<img class="file-thumbnail" src="{{Thumbnail}}" alt="{{Filename}}" />
</a>
</div>
{{/Attachments}}
</div>
<div class="post_body">{{{RenderBody}}}</div>
</div>