{% extends "basic.html" %}

{% block content %}
<div class="archive animated fadeInDown">
  <ul class="list-with-title">
    {% if lang == config.default_language %}
      {% set section_item = get_section(path="_index.md") %}
    {% else %}
      {% set path = "_index." ~ lang ~ ".md"%}
      {% set section_item = get_section(path=path) %}
    {% endif %}
    {% for year, posts in section_item.pages | group_by(attribute="year") %}
      {% set language_posts = posts | filter(attribute="lang", value=lang) %