{% 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 #} {# 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 #}
{% 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 %}
{{ post.name }}

{{ 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 #}
{% 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 %}
    {{ blogpost.title|safe }}
    {% endif %}

    {{ 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 %}