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
|
@ -30,9 +30,11 @@
|
|||
<div class="wall-item-links">
|
||||
</div>
|
||||
<div class="wall-item-tags">
|
||||
{{if !$item.suppress_tags}}
|
||||
{{foreach $item.tags as $tag}}
|
||||
<span class='tag'>{{$tag}}</span>
|
||||
<span class="tag">{{$tag}}</span>
|
||||
{{/foreach}}
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
<div class="wall-item-bottom">
|
||||
|
|
|
@ -67,18 +67,20 @@
|
|||
<div class="wall-item-links">
|
||||
</div>
|
||||
<div class="wall-item-tags">
|
||||
{{if !$item.suppress_tags}}
|
||||
{{foreach $item.hashtags as $tag}}
|
||||
<span class='tag'>{{$tag}}</span>
|
||||
<span class="tag">{{$tag}}</span>
|
||||
{{/foreach}}
|
||||
{{foreach $item.mentions as $tag}}
|
||||
<span class='mention'>{{$tag}}</span>
|
||||
<span class="mention">{{$tag}}</span>
|
||||
{{/foreach}}
|
||||
{{foreach $item.folders as $cat}}
|
||||
<span class='folder p-category'>{{$cat.name}}</a>{{if $cat.removeurl}} (<a href="{{$cat.removeurl}}" title="{{$remove}}">x</a>) {{/if}} </span>
|
||||
{{/foreach}}
|
||||
{{foreach $item.categories as $cat}}
|
||||
<span class='category p-category'>{{$cat.name}}</a>{{if $cat.removeurl}} (<a href="{{$cat.removeurl}}" title="{{$remove}}">x</a>) {{/if}} </span>
|
||||
{{/foreach}}
|
||||
{{foreach $item.folders as $cat}}
|
||||
<span class="folder p-category">{{$cat.name}}</a>{{if $cat.removeurl}} (<a href="{{$cat.removeurl}}" title="{{$remove}}">x</a>) {{/if}} </span>
|
||||
{{/foreach}}
|
||||
{{foreach $item.categories as $cat}}
|
||||
<span class="category p-category">{{$cat.name}}</a>{{if $cat.removeurl}} (<a href="{{$cat.removeurl}}" title="{{$remove}}">x</a>) {{/if}} </span>
|
||||
{{/foreach}}
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
<div class="wall-item-bottom">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue