Move suppress_tags config to template
- Add new item.suppress_tags template variable - Fix template formatting
This commit is contained in:
parent
b8ffa1dec7
commit
daffc27061
12 changed files with 106 additions and 85 deletions
|
@ -51,11 +51,13 @@
|
|||
<div class="wall-item-title p-name" id="wall-item-title-{{$item.id}}">{{$item.title}}</div>
|
||||
<div class="wall-item-title-end"></div>
|
||||
<div class="wall-item-body" id="wall-item-body-{{$item.id}}" ><span class="e-content">{{$item.body}}<span>
|
||||
<div class="body-tag">
|
||||
{{foreach $item.tags as $tag}}
|
||||
<span class='tag'>{{$tag}}</span>
|
||||
{{/foreach}}
|
||||
</div>
|
||||
<div class="body-tag">
|
||||
{{if !$item.suppress_tags}}
|
||||
{{foreach $item.tags as $tag}}
|
||||
<span class="tag">{{$tag}}</span>
|
||||
{{/foreach}}
|
||||
{{/if}}
|
||||
</div>
|
||||
{{if $item.has_cats}}
|
||||
<div class="categorytags"><span>{{$item.txt_cats}} {{foreach $item.categories as $cat}}<span class="p-category">{{$cat.name}}</span>{{if $cat.removeurl}} <a href="{{$cat.removeurl}}" title="{{$remove|escape:'html'}}">[{{$remove}}]</a>{{/if}} {{if $cat.last}}{{else}}, {{/if}}{{/foreach}}
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue