diff --git a/templates/news.html b/templates/news.html index b7e183d7..c8efe81d 100644 --- a/templates/news.html +++ b/templates/news.html @@ -22,7 +22,7 @@ {% set translatedPage = page.translations | filter(attribute='lang', value=lang) | first %} {% if translatedPage %} {% set page = get_page(path=translatedPage.path) %} -{% endif %} +{% endif %}
{# Display wide images below the text instead of to the right. #} {% set_global noflex = '' %} @@ -39,7 +39,7 @@ {% endif %} -{% for photo in page.assets %} +{% for photo in page.assets | sort %}