From 8d17ef3b8f48237bd2ea4b309160389b63d937b6 Mon Sep 17 00:00:00 2001 From: spi <22529093+spi43984@users.noreply.github.com> Date: Thu, 28 Sep 2023 13:28:49 +0200 Subject: [PATCH 1/9] Update variables.scss --- assets/css/variables.scss | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/assets/css/variables.scss b/assets/css/variables.scss index c073a03..1ceb5f3 100644 --- a/assets/css/variables.scss +++ b/assets/css/variables.scss @@ -38,4 +38,8 @@ /* === Footer === */ --footer-color-background: #22343a; --footer-color: #bbc7cc; -} \ No newline at end of file + + /* === Lists === */ + /* define listElement for unnumbered lists, leave empty for default listElement */ + --listElement: fa-dashcube; +} From c60f2ecbe3fb37308b2b7280a7b41335b9d220cb Mon Sep 17 00:00:00 2001 From: spi <22529093+spi43984@users.noreply.github.com> Date: Thu, 28 Sep 2023 13:30:13 +0200 Subject: [PATCH 2/9] Update index.js --- assets/js/index.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/assets/js/index.js b/assets/js/index.js index a6ec32d..cd3aec3 100644 --- a/assets/js/index.js +++ b/assets/js/index.js @@ -88,8 +88,11 @@ var $sitehead = $("#site-head"); }); } - $('ul').addClass("fa-ul"); - $("ul li").prepend(''); + var listElement = getComputedStyle(document.documentElement).getPropertyValue('--listElement'); + if (listElement.length > 0) { + $('ul').addClass("fa-ul"); + $("ul li").prepend(''); + } $("blockquote p").prepend(''); $("blockquote p").append(''); }); From 9c913c9e73ab735ffe70f54a21751e3daf6a8b0d Mon Sep 17 00:00:00 2001 From: spi <22529093+spi43984@users.noreply.github.com> Date: Thu, 28 Sep 2023 13:33:46 +0200 Subject: [PATCH 3/9] Update custom_head.html --- exampleSite/layouts/partials/custom_head.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/exampleSite/layouts/partials/custom_head.html b/exampleSite/layouts/partials/custom_head.html index a271c94..2d92be4 100644 --- a/exampleSite/layouts/partials/custom_head.html +++ b/exampleSite/layouts/partials/custom_head.html @@ -17,7 +17,12 @@ } --> - + --> - --> From cecb5ee29478c2bcf347c4d999da42dc598f99ab Mon Sep 17 00:00:00 2001 From: spi <22529093+spi43984@users.noreply.github.com> Date: Wed, 4 Oct 2023 20:41:50 +0200 Subject: [PATCH 9/9] Update index.js ja variable il-li-icon changed to ulLiIcon --- assets/js/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/assets/js/index.js b/assets/js/index.js index 9c15bb7..6ae24c7 100644 --- a/assets/js/index.js +++ b/assets/js/index.js @@ -88,10 +88,10 @@ var $sitehead = $("#site-head"); }); } - var ul-li-icon = getComputedStyle(document.documentElement).getPropertyValue('--ul-li-icon'); - if (ul-li-icon.length > 0) { + var ulLiIcon = getComputedStyle(document.documentElement).getPropertyValue('--ul-li-icon'); + if (ulLiIcon.length > 0) { $('ul').addClass("fa-ul"); - $("ul li").prepend(''); + $("ul li").prepend(''); } $("blockquote p").prepend(''); $("blockquote p").append('');