Replace frontmatter variable for divided content
This commit is contained in:
parent
14febca88b
commit
379c3d9fe6
|
@ -14,7 +14,7 @@ layout: main/base
|
||||||
{% include "toc.njk" %}
|
{% include "toc.njk" %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<div class="content {{'content--divided' if contentIsDivided }}">
|
<div class="content {{'content--divided' if isContentDivided }}">
|
||||||
{{ content | safe }}
|
{{ content | safe }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
|
@ -7,7 +7,7 @@ metadata:
|
||||||
title: Home
|
title: Home
|
||||||
desc: Home page of Leilukin's Hub.
|
desc: Home page of Leilukin's Hub.
|
||||||
date: 2023-01-01
|
date: 2023-01-01
|
||||||
contentIsDivided: true
|
isContentDivided: true
|
||||||
---
|
---
|
||||||
|
|
||||||
<section class="content__section">
|
<section class="content__section">
|
||||||
|
|
|
@ -6,7 +6,7 @@ metadata:
|
||||||
type: article
|
type: article
|
||||||
date: 2023-01-02
|
date: 2023-01-02
|
||||||
intro: Learn more about this website and its owner.
|
intro: Learn more about this website and its owner.
|
||||||
contentIsDivided: true
|
isContentDivided: true
|
||||||
---
|
---
|
||||||
|
|
||||||
<section class="content__section">
|
<section class="content__section">
|
||||||
|
|
Loading…
Reference in New Issue