546c5c84fd
[PLUGINS][RelatedTags] Disable rendering of template when no results are found
10 lines
251 B
Twig
10 lines
251 B
Twig
{% if note_tags is not empty %}
|
|
<div class="section-widget section-widget-padded">
|
|
<h2>Related tags:</h2>
|
|
|
|
{% for nt in note_tags %}
|
|
{% include 'cards/tag/note_tag.html.twig' with { 'tag': nt } %}
|
|
{% endfor %}
|
|
</div>
|
|
{% endif %}
|