From bf03fca38e28d1af7bef35993bbe3dd95977c4f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Thu, 9 Mar 2023 14:28:34 +0100 Subject: [PATCH] Added condition to load Toastify library only if enabled --- _includes/head.html | 2 ++ index.html | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/_includes/head.html b/_includes/head.html index 4deaf5d2..0d5bd84e 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -22,7 +22,9 @@ + {% if site.env.ALLOW_IMAGE_SHARING == "1" %} + {% endif %} diff --git a/index.html b/index.html index 4863ecd8..77dcc544 100644 --- a/index.html +++ b/index.html @@ -38,9 +38,11 @@ {% endif %} {% include javascript.html %} + {% if site.env.ALLOW_IMAGE_SHARING == "1" %} + {% endif %} {% if page.image_slug %} {% endif %} - \ No newline at end of file +