♻️ refactor: split macros.html in different files

Clearer macros format.
This commit is contained in:
welpo
2023-02-21 19:39:54 +01:00
parent 3d7a662ac8
commit 3aa22cb3ad
18 changed files with 233 additions and 256 deletions

View File

@@ -5,7 +5,7 @@
{% set section = get_section(path=section.extra.section_path) %}
{% endif -%}
{{ post_macros::page_header(title=section.title) }}
{{ macros_page_header::page_header(title=section.title) }}
<main>
{%- if paginator %}
@@ -14,7 +14,7 @@
{%- set show_pages = section.pages -%}
{% endif -%}
{{ post_macros::cards_posts(pages=show_pages) }}
{{ macros_cards_posts::cards_posts(pages=show_pages) }}
</main>
{% if paginator %}