{% extends theme('layouts/1-column.html') %} {% from theme('macros/follow.html') import follow_btn with context %} {% from theme('macros/integrate.html') import integrate_btn with context %} {% from theme('macros/paginator.html') import paginator with context %} {% from theme('macros/breadcrumb.html') import breadcrumb with context %} {% from theme('macros/banner_info.html') import banner_info %} {% from theme('macros/banner_warning.html') import banner_warning %} ## FIXME: remove inspire:indentifier robots condition when geo.data.gouv.fr is shutdown {% set meta = { 'title': dataset.full_title, 'description': dataset.description|mdstrip(60)|forceescape, 'image': dataset.organization and dataset.organization.logo(external=True) or '', 'keywords': [_('dataset')] + dataset.tags, 'robots': 'noindex, nofollow' if dataset.is_hidden or 'inspire:identifier' in dataset.extras else '', } %} {% set bundle = 'dataset' %} {% set body_class = 'dataset-display' %} {% set community_subtitle = _('Explore with %(certifier)s', certifier=config.SITE_TITLE ) %} {% set read_only_mode = config.READ_ONLY_MODE %} {# Harvesting source #} {% set external_source = dataset.extras['remote_url'] %} {% block extra_head %} {% cache cache_duration, 'dataset-extra-head', dataset.id|string, g.lang_code %} {% endcache %} {% endblock %} {% block breadcrumb %} {% cache cache_duration, 'dataset-breadcrumb', dataset.id|string, g.lang_code %}
{% if not external_source %} {{ _('Updated on %(date)s', date=dataset.last_modified|dateformat(format='long')) }} {% if dataset.license %} — {% endif %} {% endif %} {% if dataset.license %} {% if dataset.license.url %}{% endif %} {{ dataset.license.title }} {% if dataset.license.url %}{% endif %} {% endif %}
{{ _('No resources') }}
{% endfor %}{{ _('You have built a more comprehensive database than those presented here? This is the time to share it!') }}
{{ _('Explore the reuses of this dataset.') }}
{{ _('Did you use this data ? Reference your work and increase your visibility.') }}
{{ _('Discussion between the organization and the community about this dataset.') }}
{% elif dataset.owner %}{{ _('Discussion between the owner and the community about this dataset.') }}
{% endif %}