{% extends "index.html" %} {% import "macros.html" as macros %} {% block customjs %} {% endblock %} {% block content %}

{{ page.title | safe }}

{{ page.description | safe }}

{% if page.extra.mainimage %} {{ page.extra.mainimage }} {% endif %}
{{ page.content | safe }} {% if page.extra.articlelist %} {% set section = get_section(path="clanky/_index.md") %} {% if section.pages %}

Příklady dobré praxe

{% for page in section.pages %} {% if page.extra.short_title %} {{ page.extra.short_title | safe }} {% else %} {{ page.title | safe }} {% endif %} {% endfor %}
{% endif %} {% endif %} {% if page.extra.softwarelist %} {% set section = get_section(path="software/_index.md") %} {% if section.pages %}

Doporučené nástroje

{% if page.extra.filters %} {% set tags = [] %} {% for program in section.pages %} {% if program.taxonomies.categories and program.taxonomies.categories is containing(page.slug) %} {% if program.taxonomies.tags %} {% set_global tags = tags | concat(with=program.taxonomies.tags) %} {% endif %} {% endif %} {% endfor %} {% set_global tags = tags | unique %}
{% for tag in tags %} {% endfor %}
{% endif %}
{% for program in section.pages %} {% if program.taxonomies.categories and program.taxonomies.categories is containing(page.slug) %} {% if program.extra.positive_short and program.extra.negative_short %} {{ macros::print_tool(program=program) }} {% endif %} {% endif %} {% endfor %} {% for program in section.pages %} {% if program.taxonomies.categories and program.taxonomies.categories is containing(page.slug) %} {% if not program.extra.positive_short or not program.extra.negative_short %} {{ macros::print_tool(program=program) }} {% endif %} {% endif %} {% endfor %}
{% endif %} {% endif %} {% endblock %}