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" %}
|
||||
{% endif %}
|
||||
|
||||
<div class="content {{'content--divided' if contentIsDivided }}">
|
||||
<div class="content {{'content--divided' if isContentDivided }}">
|
||||
{{ content | safe }}
|
||||
</div>
|
||||
</div>
|
|
@ -7,7 +7,7 @@ metadata:
|
|||
title: Home
|
||||
desc: Home page of Leilukin's Hub.
|
||||
date: 2023-01-01
|
||||
contentIsDivided: true
|
||||
isContentDivided: true
|
||||
---
|
||||
|
||||
<section class="content__section">
|
||||
|
|
|
@ -6,7 +6,7 @@ metadata:
|
|||
type: article
|
||||
date: 2023-01-02
|
||||
intro: Learn more about this website and its owner.
|
||||
contentIsDivided: true
|
||||
isContentDivided: true
|
||||
---
|
||||
|
||||
<section class="content__section">
|
||||
|
|
Loading…
Reference in New Issue