{% ckan_extends %} {% block search_input %} {{super()}} {% if query and count==0 %} {% if type == 'dataset' %} {% set recomms = h.ckanext_ids_recomm_datasets_homepage(3) %} {% endif %} {% if type == 'service' %} {% set recomms = h.ckanext_ids_recomm_services_homepage(3) %} {% endif %} {% if type == 'application' %} {% set recomms = h.ckanext_ids_recomm_applications_homepage(3) %} {% endif %} {% if recomms %}

Recommended {{type}}s

{% for recomm in recomms %} {% endfor %}
{% endif %} {% endif %} {% endblock %}