hide "comments" link in Leggero if there aren't any comments and posting has been disabled
This commit is contained in:
parent
cc44e55cdc
commit
3d23a3434d
@ -23,12 +23,13 @@
|
||||
{if ($categories)} in {$categories|@filed}{/if}
|
||||
</li>
|
||||
|
||||
{if !(in_array('commslock', $categories) && !$comments)}
|
||||
<li class="link-comments">
|
||||
<a href="{$id|link:comments_link}#comments">{$comments|tag:comments_number}
|
||||
{if isset($views)}(<strong>{$views}</strong> views){/if}
|
||||
</a>
|
||||
</li>
|
||||
|
||||
{/if}
|
||||
|
||||
</ul>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user