Rename customCSSSheet variable to customCSSSheets

This commit is contained in:
Helen Chong 2024-06-18 16:43:57 +08:00
parent 2d4671d8ea
commit 9b1ba9b571
5 changed files with 6 additions and 6 deletions

View File

@ -1,5 +1,5 @@
---
customCSSSheet: ["asummersend"]
customCSSSheets: ["asummersend"]
---
{% extends "global/baselayout.njk" %}

View File

@ -1,5 +1,5 @@
---
customCSSSheet: ["cassettebeasts"]
customCSSSheets: ["cassettebeasts"]
---
{% extends "global/baselayout.njk" %}

View File

@ -13,8 +13,8 @@
{# CSS #}
{% include "global/css-bundle.njk" %}
{% if customCSSSheet %}
{%- for sheet in customCSSSheet -%}
{% if customCSSSheets %}
{%- for sheet in customCSSSheets -%}
<link rel="stylesheet" href="{{'/assets/css/' + sheet + '.css' | url | safe}}">
{%- endfor -%}
{% endif %}

View File

@ -1,5 +1,5 @@
---
customCSSSheet: ["starwarskotor"]
customCSSSheets: ["starwarskotor"]
---
{% extends "global/baselayout.njk" %}

View File

@ -1,6 +1,6 @@
---
title: Guestbook
customCSSSheet: ["svgIconControl", "comments"]
customCSSSheets: ["svgIconControl", "comments"]
customJSFiles: ["svgIconControl", "googleSheetsReaderGizmo", "comments"]
eleventyNavigation:
key: Guestbook