✨ feat: add markdown support to index page
This commit is contained in:
parent
767d92a5eb
commit
c6ec7c7505
@ -77,6 +77,12 @@
|
|||||||
</div>
|
</div>
|
||||||
{% endmacro content %}
|
{% endmacro content %}
|
||||||
|
|
||||||
|
{% macro index_content(page) %}
|
||||||
|
<section class="body">
|
||||||
|
{{ page.content | safe }}
|
||||||
|
</section>
|
||||||
|
{% endmacro content %}
|
||||||
|
|
||||||
{% macro content(page) %}
|
{% macro content(page) %}
|
||||||
<main>
|
<main>
|
||||||
<article>
|
<article>
|
||||||
|
@ -9,6 +9,8 @@
|
|||||||
{{ post_macros::page_desc(desc=section.extra.desc) }}
|
{{ post_macros::page_desc(desc=section.extra.desc) }}
|
||||||
{% endif -%}
|
{% endif -%}
|
||||||
|
|
||||||
|
{{ post_macros::index_content(page=section) }}
|
||||||
|
|
||||||
<main class="list">
|
<main class="list">
|
||||||
<div class="title-container">
|
<div class="title-container">
|
||||||
{{ post_macros::page_header(title=section.title) }}
|
{{ post_macros::page_header(title=section.title) }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user