From 6018f0217d22ad39d73650db6c4743b6a2344a3f Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Wed, 27 Mar 2024 16:37:20 +0000 Subject: [PATCH] Make use of CDN optional --- templates/base.html | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/templates/base.html b/templates/base.html index 7b1cbde..08ccfb7 100644 --- a/templates/base.html +++ b/templates/base.html @@ -7,7 +7,11 @@ {% block title %}{% endblock %} - + {% if config.USE_CDN %} + + {% else %} + + {% endif %} {% block style %} {% endblock %} @@ -18,6 +22,10 @@ {% block nav %}{{ navbar() }}{% endblock %} {% block content %}{% endblock %} {% block scripts %}{% endblock %} - + {% if config.USE_CDN %} + + {% else %} + + {% endif %}