{% if in_url('sort') and in_url('organization') %} {% set action = url_for('datasets.list') %} {% set placeholder = _('Search in datasets') %} {% elif territory %} {% set action = url_for('front.search') %} {% set placeholder = _('Search in this town') %} {% else %} {% set action = url_for('front.search') %} {% set placeholder = _('Search') %} {% endif %}
{% if in_url('sort') and in_url('organization') %} {% elif territory %} {% endif %}
{% cache cache_duration, 'subnav-small-featured-topics', g.lang_code|default(config.DEFAULT_LANGUAGE)|string %} {# Topic chooser #}
    {% for topic in g.featured_topics %}
  • {{ topic.name }}
  • {% endfor %}
{% endcache %} {# Publish call to action #}
{{ _('Contribute!') }}