♻️ refactor: split macros.html in different files
Clearer macros format.
This commit is contained in:
@@ -6,12 +6,12 @@
|
||||
{% endif -%}
|
||||
|
||||
{%- if section.extra.desc %}
|
||||
{{ post_macros::page_desc(desc=section.extra.desc, page=section) }}
|
||||
{{ macros_page_desc::page_desc(desc=section.extra.desc, page=section) }}
|
||||
{% endif -%}
|
||||
|
||||
<main class="list">
|
||||
<div>
|
||||
{{ post_macros::page_header(title=section.title) }}
|
||||
{{ macros_page_header::page_header(title=section.title) }}
|
||||
</div>
|
||||
{%- if paginator %}
|
||||
{%- set show_pages = paginator.pages -%}
|
||||
@@ -19,7 +19,7 @@
|
||||
{%- set show_pages = section.pages -%}
|
||||
{% endif -%}
|
||||
|
||||
{{ post_macros::list_posts(pages=show_pages) }}
|
||||
{{ macros_list_posts::list_posts(pages=show_pages) }}
|
||||
</main>
|
||||
|
||||
{% if paginator %}
|
||||
|
Reference in New Issue
Block a user