- In the Leggero theme, the number of views is now also displayed when comments are locked
This commit is contained in:
Frank Hochmuth 2024-03-24 20:10:31 +01:00 committed by GitHub
commit 69574bd8be
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -26,16 +26,16 @@
</span> </span>
</li> </li>
{if !(in_array('commslock', $categories) && !$comments)}
<li class="link-comments"> <li class="link-comments">
<a href="{$id|link:comments_link}#comments">{$comments|tag:comments_number} {if isset($views)}
{if isset($views)}(<strong>{$views}</strong> {$lang.postviews.views}){/if} <strong>{$views}</strong> {$lang.postviews.views}
</a>
</li>
{/if} {/if}
{if !(in_array('commslock', $categories) && !$comments)}
<a href="{$id|link:comments_link}#comments">{$comments|tag:comments_number}
</a>
{/if}
</li>
</ul> </ul>
</div> </div>