feat: allow dual date-format (short/long)

This commit is contained in:
welpo 2023-03-10 23:25:54 +01:00
parent e93b33e6b8
commit 9887fb0a6f
No known key found for this signature in database
GPG key ID: A2F978CF4EC1F5A6
9 changed files with 92 additions and 51 deletions

View file

@ -2,6 +2,7 @@
{% block main_content %}
<main>
{% if section.extra.section_path -%}
{% set extra_section = get_section(path=section.extra.section_path) %}
{% endif -%}
@ -10,7 +11,7 @@
{{ macros_page_desc::page_desc(desc=section.extra.header, page=section) }}
{% endif -%}
<main class="list">
<div class="list">
<div>
{{ macros_page_header::page_header(title=section.title) }}
</div>
@ -23,6 +24,7 @@
{% set max = section.extra.max_posts | default(value=999999) %}
{{ macros_list_posts::list_posts(posts=pages, max=max) }}
</div>
</main>
{% if paginator %}