forked from em/receptty.org
		
	Oprava buildu, když recept nemá tagy
This commit is contained in:
		@@ -54,9 +54,11 @@
 | 
			
		||||
{% macro tags_in_category() %}
 | 
			
		||||
	{% set_global tags = [] %}
 | 
			
		||||
	{% for page in term.pages %}
 | 
			
		||||
		{% for tag in page.taxonomies.tagy %}
 | 
			
		||||
			{% set_global tags = tags | concat(with=tag) %}
 | 
			
		||||
		{% endfor %}
 | 
			
		||||
		{% if page.taxonomies.tagy %}
 | 
			
		||||
			{% for tag in page.taxonomies.tagy %}
 | 
			
		||||
				{% set_global tags = tags | concat(with=tag) %}
 | 
			
		||||
			{% endfor %}
 | 
			
		||||
		{% endif %}
 | 
			
		||||
	{% endfor %}
 | 
			
		||||
 | 
			
		||||
	{% set_global tags = tags | sort | unique %}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user