{%- if page %} {%- set resource = page %} {%- elif section %} {%- set resource = section %} {%- endif %} {%- set rtl_langs = ["ar", "arc", "dv", "fa", "ha", "he", "khw", "ks", "ku", "ps", "ur", "yi"] -%} {% block rss %} {% endblock %} {%- set preview_image = 'images/screenshots/prague.jpg' -%} {%- if resource.extra.preview_image -%} {%- set preview_image = resource.extra.preview_image -%} {%- elif resource.assets %} {%- set basename = resource.assets[0] | split(pat='/') | last %} {%- if basename is ending_with('.jpg') or basename is ending_with('.jpeg') or basename is ending_with('.png') or basename is ending_with('.webp') %} {%- set preview_image = resource.path ~ basename -%} {%- endif %} {%- endif %} {%- if resource.description -%} {%- endif -%} {%- if resource.description -%} {%- endif -%} {% if resource.date -%} {%- endif -%} {%- block meta -%}{%- endblock %} {{ resource.title }} {%- if lang == config.default_language %} {% include 'components/language_redirect.html' %} {% endif -%}
{% include 'common/header.html' %}
{% block content %}{% endblock %}
{% include 'shortcodes/acordeon.html' %} {% include 'shortcodes/switch-theme.html' %} {% include 'shortcodes/header-switch.html' %} {% include 'shortcodes/animation-section-js.html' %} {% include 'shortcodes/paralax.html' %}