Home Download Direct linkSettings
Aa
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Copy
{%- if article_mode -%}
    {%- set parent = "article/{}.html".format(article_mode) -%}
{%- else -%}
    {%- set parent = "base.html" -%}
{%- endif -%}

{%- extends parent -%}

{%- block content -%}
    <h1 id="title">{%- block title -%}{%- endblock -%}</h1>

    {%- block article -%}
    {%- endblock -%}
{%- endblock -%}