{# This snippet requires these variables: schema, newsitem_list #} {% load eb %} {% for newsitem in newsitem_list %}
  • {% with location_url=newsitem.location_url %} {% if location_url %}{% endif %}{{ newsitem.location_name }}{% if location_url %}{% endif %} {% block newsitem_list_content %} {{ newsitem.title|truncatewords_html:20 }}

    {{ newsitem.item_date|date:"F j, Y" }} {% if newsitem.description %}{{ newsitem.description|truncatewords_html:20}}{% endif %}

    {% endblock newsitem_list_content %} {% endwith %}
  • {% endfor %}