Make it possible to add more parameters to post template
This commit is contained in:
parent
2ea928417d
commit
9974628f62
@ -1,31 +1,31 @@
|
||||
<div id="{{PostHash}}" class="{{CSSClass}}">
|
||||
<div id="{{post.PostHash}}" class="{{post.CSSClass}}">
|
||||
<legend class="postheader">
|
||||
<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}}
|
||||
{{#post.IsI2P}}
|
||||
<img src="{{post.Prefix}}static/i2p.png" title="post from i2p" />
|
||||
{{/post.IsI2P}}
|
||||
{{#post.IsTor}}
|
||||
<img src="{{post.Prefix}}static/tor.png" title="post from tor" />
|
||||
{{/post.IsTor}}
|
||||
{{#post.IsClearnet}}
|
||||
<img src="{{post.Prefix}}static/clearnet.png" title="post from clearnet" />
|
||||
{{/post.IsClearnet}}
|
||||
</span>
|
||||
<span class="subject">{{Subject}}</span>
|
||||
<span class="name">{{Name}}</span>
|
||||
<time datetime="{{DateRFC}}">{{Date}}</time>
|
||||
<a href="#" class="postnol">No.</a><a class="postno" onclick="nntpchan_backlink('{{ShortHash}}');" title="{{MessageID}}">{{ShortHash}}</a>
|
||||
<a href="{{PostURL}}">[Reply]</a>
|
||||
<span class="tripcode">{{{Pubkey}}}</span>
|
||||
<span class="subject">{{post.Subject}}</span>
|
||||
<span class="name">{{post.Name}}</span>
|
||||
<time datetime="{{post.DateRFC}}">{{post.Date}}</time>
|
||||
<a href="#" class="postnol">No.</a><a class="postno" onclick="nntpchan_backlink('{{post.ShortHash}}');" title="{{post.MessageID}}">{{post.ShortHash}}</a>
|
||||
<a href="{{post.PostURL}}">[Reply]</a>
|
||||
<span class="tripcode">{{{post.Pubkey}}}</span>
|
||||
</legend>
|
||||
{{#Attachments}}
|
||||
{{#post.Attachments}}
|
||||
<figure>
|
||||
<figcaption>
|
||||
<a href="{{Source}}" title="{{Filename}}" target="_blank"><img src="{{Thumbnail}}" alt="{{Filename}}" class="thumbnail"/></a>
|
||||
</figcaption>
|
||||
</figure>
|
||||
{{/Attachments}}
|
||||
{{/post.Attachments}}
|
||||
<div class="post_body">
|
||||
{{{RenderBody}}}
|
||||
{{{post.RenderBody}}}
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user