mirror of
https://github.com/welpo/tabi.git
synced 2025-10-11 07:46:15 +02:00
✨ feat: render section content
This commit is contained in:
parent
6ff0604beb
commit
7770369244
1 changed files with 4 additions and 0 deletions
|
@ -26,6 +26,10 @@
|
||||||
<main {% if more_than_one_section_shown %}class="{{ first_section }}-first"{% endif %}>
|
<main {% if more_than_one_section_shown %}class="{{ first_section }}-first"{% endif %}>
|
||||||
{%- if section.extra.header %}
|
{%- if section.extra.header %}
|
||||||
{%- include "partials/home_banner.html" -%}
|
{%- include "partials/home_banner.html" -%}
|
||||||
|
{%- elif section.content -%}
|
||||||
|
<section>
|
||||||
|
{{ section.content | safe }}
|
||||||
|
</section>
|
||||||
{% endif -%}
|
{% endif -%}
|
||||||
|
|
||||||
{% if section.extra.section_path -%}
|
{% if section.extra.section_path -%}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue