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