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" %} {% 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>

View File

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

View File

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