+
+ {{ faq_page.title }}
+ Update: {{ faq_page.updated | default(value="[Unknown]") }}
+ |
+ {% for lang in faq_languages %}
+ {% set page_trans = faq_page.translations | filter(attribute="lang", value=lang) %}
+ {% if page_trans | length == 0 %}
+ ❌ |
+ {% else %}
+ {% set translated_page = page_trans | first %}
+ {% set translated_page = get_page(path = translated_page.path) %}
+ {% set page_updated = translated_page | get(key = "updated") %}
+ {# Compare translated page date with English page date #}
+ {% set cell_class = "" %}
+ {% if page_updated and eng_page_updated %}
+ {% set page_updated_int = page_updated | date(format="%s") | int %}
+ {% if page_updated_int < eng_page_updated_int %}
+ {% set cell_class = "faq-outdated" %}
+ {% endif %}
+ {% elif eng_page_updated %}
+ {% set cell_class = "faq-no-date" %}
+ {% endif %}
+
+
+ {{ translated_page.title }}
+ Update: {% if page_updated %}{{page_updated}}{% else %}[Unknown]{% endif %}
+ |
+ {% endif %}
+ {% endfor %}
+
+ {%- endfor -%}
+ {% endfor %}
+