chore: removed useless check

This commit is contained in:
zaaarf 2023-12-26 17:35:13 +01:00
parent cb64f9eb10
commit 4ddc6d6295
No known key found for this signature in database
GPG key ID: 102E445F4C3F829B

View file

@ -15,10 +15,10 @@
{% if config.extra.date_format.list %} {% if config.extra.date_format.list %}
{% set datefmt = config.extra.date_format.list %} {% set datefmt = config.extra.date_format.list %}
{% else %} {% else %}
{% set datefmt = "@ %Y-%m-%dT%H:%M:%S%Z" %} {% set datefmt = " @ %Y-%m-%dT%H:%M:%S%Z" %}
{% endif %} {% endif %}
{% for page in pages %} {% for page in pages %}
<li><a href="{{ page.permalink | safe }}">{{ page.title }}{% if config.extra.show_date_paginator and config.extra.show_date_paginator == true %} <span class="contentDate">{{ page.date | date(format=datefmt) }}</span>{% endif %}</a></li> <li><a href="{{ page.permalink | safe }}">{{ page.title }}<span class="contentDate">{{ page.date | date(format=datefmt) }}</span></a></li>
{% endfor %} {% endfor %}
</ul> </ul>