archives.html.twig 508 B

12345678910111213
  1. <ul class="archives">
  2. {% for month,items in archives_data %}
  3. <li>
  4. <a href="{{ base_url }}/{{ config.plugins.archives.taxonomy_names.month }}{{ config.system.param_sep }}{{ month|date('M_Y')|lower|e('url') }}">
  5. {% if archives_show_count %}
  6. <span class="label label-rounded label-primary">{{ items|length }}</span>
  7. {% endif %}
  8. <span class="archive_date">{{ month|date(config.plugins.archives.date_display_format) }} </span>
  9. </a>
  10. </li>
  11. {% endfor %}
  12. </ul>