do not add empty list if none should be shown

If links are empty but pages are there but disabled an empty list was shown.
This commit is contained in:
Lioman 2021-03-06 18:34:15 +01:00 committed by GitHub
parent 9d1bc78eab
commit d9915f87be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -182,7 +182,7 @@
</form>
{% endif %}
{% if pages or LINKS %}
{% if (pages and DISPLAY_PAGES_ON_MENU) or LINKS %}
<nav>
<ul class="list">
{# Open links in new window depending on the LINKS_IN_NEW_TAB setting #}