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:
		
							parent
							
								
									9d1bc78eab
								
							
						
					
					
						commit
						d9915f87be
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -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 #}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue