{% extends "public/content.html" %} {% load url from future %} {% block headtitle %}Search Results{% endblock %} {% block title %}

Search Results

{% endblock %} {% block content %}

You searched for {% if content_type %}Content Type "{{ content_type }}"{% endif %} {% if content_type and audience %}and{% endif %} {% if audience %}Audience "{{ audience }}"{% endif %}

{% if pages %}

Matching Pages

{% for page in pages %}

{{ page.title }}

{{ page.introduction|linebreaks }}
{% endfor %}

{% endif %} {% if news %}

Matching News

{% for article in news %}

{{ article }}

{{ article.description|linebreaks }}
{% endfor %}

{% endif %} {% if events %}

Matching Events

{% for article in events %}

{{ article.title }}

{% if article.event_date_start %} {{ article.event_date_start|date:"jS" }} {% endif %} {% if article.event_date_start|date:"M" != article.event_date_end|date:"M" %} {{ article.event_date_start|date:"M" }} {% endif %} {% if article.event_date_start|date:"Y" != article.event_date_end|date:"Y" %} {{ article.event_date_start|date:"Y" }} {% endif %} {% if article.event_date_end %} to {{ article.event_date_end|date:"jS M Y" }} {% endif %}

{{ article.description|linebreaks }}
{% endfor %}

{% endif %} {% if audience_pages or content_type_pages or audience_news or content_type_news or audience_events or content_type_events %}

Show Partially Matching Results

{% if audience_pages %}

Pages Matching {{ audience }}

{% for page in audience_pages %}

{{ page.title }}

{{ page.introduction|linebreaks }}
{% endfor %}

{% endif %} {% if content_type_pages %}

Pages Matching {{ content_type }}

{% for page in content_type_pages %}

{{ page.title }}

{{ page.introduction|linebreaks }}
{% endfor %}

{% endif %} {% if audience_news %}

News Matching {{ audience }}

{% for article in audience_news %}

{{ article }}

{{ article.description|linebreaks }}
{% endfor %}

{% endif %} {% if content_type_news %}

News Matching {{ content_type }}

{% for article in content_type_news %}

{{ article }}

{{ article.description|linebreaks }}
{% endfor %}

{% endif %} {% if audience_events %}

Events Matching {{ audience }}

{% for article in audience_events %}

{{ article.title }}

{% if article.event_date_start %} {{ article.event_date_start|date:"jS" }} {% endif %} {% if article.event_date_start|date:"M" != article.event_date_end|date:"M" %} {{ article.event_date_start|date:"M" }} {% endif %} {% if article.event_date_start|date:"Y" != article.event_date_end|date:"Y" %} {{ article.event_date_start|date:"Y" }} {% endif %} {% if article.event_date_end %} to {{ article.event_date_end|date:"jS M Y" }} {% endif %}

{{ article.description|linebreaks }}
{% endfor %}

{% endif %} {% if content_type_events %}

Events Matching {{ content_type }}

{% for article in content_type_events %}

{{ article.title }}

{% if article.event_date_start %} {{ article.event_date_start|date:"jS" }} {% endif %} {% if article.event_date_start|date:"M" != article.event_date_end|date:"M" %} {{ article.event_date_start|date:"M" }} {% endif %} {% if article.event_date_start|date:"Y" != article.event_date_end|date:"Y" %} {{ article.event_date_start|date:"Y" }} {% endif %} {% if article.event_date_end %} to {{ article.event_date_end|date:"jS M Y" }} {% endif %}

{{ article.description|linebreaks }}
{% endfor %}

{% endif %}

{% endif %} {% if not pages and not news and not eventd and not audience_pages and not content_type_pages %}

No Results found, please try searching again.

{% endif %}

Search Again

{% csrf_token %}
{% endblock %}