Replace frontmatter variable for divided content

This commit is contained in:
Helen Chong 2024-04-16 00:33:34 +08:00
parent 14febca88b
commit 379c3d9fe6
3 changed files with 3 additions and 3 deletions

View File

@ -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>

View File

@ -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">

View File

@ -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">