09407af482
* Use query parameter separator from config * Update archives.html.twig Replace hard coded separator with config value
12 lines
378 B
Twig
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>
|