{%- 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 %}