diff --git a/www/wp-content/themes/ation2016/templates/archive-semester.twig b/www/wp-content/themes/ation2016/templates/archive-semester.twig index b5f9608..9a20941 100644 --- a/www/wp-content/themes/ation2016/templates/archive-semester.twig +++ b/www/wp-content/themes/ation2016/templates/archive-semester.twig @@ -3,8 +3,12 @@ {% block content %}

{{title}}

- {% for post in posts %} - {% include ['tease-'~post.post_type~'.twig', 'tease.twig'] %} - {% endfor %} + {% if posts %} + {% for post in posts %} + {% include ['tease-'~post.post_type~'.twig', 'tease.twig'] %} + {% endfor %} + {% else %} +

No Students.

+ {% endif %}
{% endblock %} \ No newline at end of file