forked from deepStateMirrors/tabi
✨ feat: add markdown support to index page
This commit is contained in:
parent
767d92a5eb
commit
c6ec7c7505
2 changed files with 8 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue