{% if is_grouped %}
  • {% for newsitem in newsitem_list %}{{ newsitem.title }} posted by {{ newsitem.attributes.username }} to {{ newsitem.attributes.sourcename }}{% endfor %}
  • {% else %} {% for newsitem in newsitem_list %} {% with location_url=newsitem.location_url %}
  • {% if location_url %}{% endif %}{{ newsitem.location_name }}{% if location_url %}{% endif %} {{ newsitem.title }}

    Posted to {{ newsitem.attributes.sourcename }} by {% ifequal newsitem.attributes.sourcename "Panoramio" %} {% endifequal %} {% ifequal newsitem.attributes.sourcename "Flickr" %} {% endifequal %} {{ newsitem.attributes.username }} on {{ newsitem.item_date|date:"F j, Y" }}.

  • {% endwith %} {% endfor %} {% endif %}