forked from KEMT/zpwiki
		
	zz
This commit is contained in:
		
							parent
							
								
									b96c768ca3
								
							
						
					
					
						commit
						7b4a270078
					
				@ -11,11 +11,13 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
{% if config.get('plugins.page-toc.active') or attribute(page.header, 'page-toc').active %}
 | 
					{% if config.get('plugins.page-toc.active') or attribute(page.header, 'page-toc').active %}
 | 
				
			||||||
<div class="page-toc">
 | 
					<div class="page-toc">
 | 
				
			||||||
 | 
					    {% if page.content is not empty %}
 | 
				
			||||||
        {% set table_of_contents = toc(page.content) %}
 | 
					        {% set table_of_contents = toc(page.content) %}
 | 
				
			||||||
        {% if table_of_contents is not empty %}
 | 
					        {% if table_of_contents is not empty %}
 | 
				
			||||||
        <h4>Obsah</h4>
 | 
					        <h4>Obsah</h4>
 | 
				
			||||||
        {{ table_of_contents }}
 | 
					        {{ table_of_contents }}
 | 
				
			||||||
        {% endif %}
 | 
					        {% endif %}
 | 
				
			||||||
 | 
					    {% endif %}
 | 
				
			||||||
</div>
 | 
					</div>
 | 
				
			||||||
{% endif %}
 | 
					{% endif %}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user