grav-theme-libretic/templates/partials/archives.html.twig
David Raine 09407af482 Use query parameter separator from config (#25)
* Use query parameter separator from config

* Update archives.html.twig

Replace hard coded separator with config value
2017-04-12 15:06:47 +02:00

12 lines
378 B
Twig

<ul class="archives">
{% for month,items in archives_data %}
<li>
<a href="{{ base_url }}/archives_month{{ config.system.param_sep }}{{ month|date('M_Y')|lower|e('url') }}">
<span class="archive_date">{{ month }}</span>
{% if archives_show_count %}
<span>({{ items|length }})</span>
{% endif %}
</a>
</li>
{% endfor %}
</ul>