{% extends "home.html" %} {% set body_class = 'home' %} {% set read_only_mode = config.READ_ONLY_MODE %} {% block subnav %} {% include theme('subnav-large.html') %} {% endblock %} {% block content %} {% cache cache_duration, 'home', g.lang_code %} {# Last inventories section #} {# First row #} Thématiques à la une Données deRÉFÉRENCE Données relatives à laCOVID-19 Données relatives auxCOMPTES PUBLICS {# end first row #} {# End last inventories section #} {# Datasets section #} {% set nb_datasets = current_site.settings.home_datasets|length %} {% set datasets_list = current_site.settings.home_datasets %} {# Dataset tabs #} {{ _('Datasets') }} {% for dataset in datasets_list %} {% include theme('dataset/card.html') %} {% endfor %} {{ _('See more') }} {# end Dataset tabs #} {# End datasets section #} {% if last_post %} {% set post = last_post %} {{ _('News in data') }} {{ post.name }} {{(post.headline or post.content)|mdstrip(280)}} {% endif %} {# Reuses section #} {% set nb_reuses = current_site.settings.home_reuses|length %} {% set reuses_list = current_site.settings.home_reuses %} {# Reuse tabs #} {{ _('Reuses') }} {% for reuse in reuses_list %} {% set features = ['preview'] %} {% include theme('reuse/card.html') %} {% endfor %} {{ _('See more') }} {# end Reuse tabs #} {# End reuse section #} {# Blog section #} {% if blogpost %} {{ _('The blog') }} {% set has_thumbnail = blogpost.image_url is defined %} {% if has_thumbnail %} {% endif %} {{blogpost.date|dateformat('long')|title}} {{ blogpost.title|safe }} {{ blogpost.summary|striptags|truncate(400) }} + {% endif %} {% if forum_topics %} {% include theme('forum.html') %} {% endif %} {# End blog section #} {% endcache %} {% endblock %} {% block extra_js %} {% if request.args.get('flag') == 'recherche' -%} {%- endif %} {% endblock %}
{{ _('See more') }}
{{(post.headline or post.content)|mdstrip(280)}}
{{ blogpost.summary|striptags|truncate(400) }} +