{# Taxonomy term template to render /news/releases/ and other terms, where "releases" can be localized to any language #} {% extends 'base.html' %} {% block content %} {# TODO: Show articles tagged for the en language if they are missing for the other language #} {% if lang == 'en' %} {% set rootNewsSection = "news/_index.md" %} {% else %} {% set rootNewsSection = "news/_index." ~ lang ~ ".md" %} {% endif %} {% set rootNewsSection = get_section(path=rootNewsSection) %}

{{ rootNewsSection.title }}

{{ term.name }}

{%- for page in term.pages -%}

{{ page.date | date(format='%B %e, %Y') }} {{ page.title }}

{%- endfor -%} {% endblock %}