Oprava buildu, když recept nemá tagy
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
7de07f9889
commit
2138316523
@ -54,9 +54,11 @@
|
|||||||
{% macro tags_in_category() %}
|
{% macro tags_in_category() %}
|
||||||
{% set_global tags = [] %}
|
{% set_global tags = [] %}
|
||||||
{% for page in term.pages %}
|
{% for page in term.pages %}
|
||||||
|
{% if page.taxonomies.tagy %}
|
||||||
{% for tag in page.taxonomies.tagy %}
|
{% for tag in page.taxonomies.tagy %}
|
||||||
{% set_global tags = tags | concat(with=tag) %}
|
{% set_global tags = tags | concat(with=tag) %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
{% set_global tags = tags | sort | unique %}
|
{% set_global tags = tags | sort | unique %}
|
||||||
|
Loading…
Reference in New Issue
Block a user