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" %} {% extends "global/baselayout.njk" %}

View File

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

View File

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

View File

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

View File

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