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