{% extends "page.html" %} {% import 'macros/taxonomy.html' as macros_taxonomy -%} {% block seo %} {% set framework_name_in_url = term.permalink | trim_end_matches(pat="/") | split(pat="/") | last %} {% set section = get_section(path="frameworks/_index.md") %} {% if section.extra.framework_pages[framework_name_in_url] %} {% set_global framework_page = get_page(path=section.extra.framework_pages[framework_name_in_url])%} {% endif %} {% if framework_page and framework_page.title %} {% set_global title = framework_page.title %} {% else %} {% set_global title = term.name %} {% endif %} {% set title_addition = "" %} {% if config.extra.title_separator %} {% set title_separator = " " ~ config.extra.title_separator ~ " " %} {% else %} {% set title_separator = " | " %} {% endif %} {% if config.title %} {% set title_addition = title_separator ~ config.title %} {% else %} {% set title_addition = "" %} {% endif %} {% if framework_page and framework_page.description %} {% set description = framework_page.description %} {% else %} {% set description = config.description %} {% endif %} {{ macros_head::seo(title=title, title_addition=title_addition, description=description) }} {% endblock seo %} {% block content %}

{{ title }}

{% if framework_page and framework_page.content %}
{{ framework_page.content | safe }}
{% endif %}
{{ macros_taxonomy::taxonomy_single() }}
{{ macros_taxonomy::taxonomy_backlink() }}
{% endblock content %}