From 77370144ee026812ba097864526ff77260d7ff4f Mon Sep 17 00:00:00 2001 From: Zankaria Date: Sat, 24 Aug 2024 01:43:31 +0200 Subject: [PATCH] template: supply data-resource-version to main.js --- templates/header.html | 4 ++-- templates/mod/ban_list.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/header.html b/templates/header.html index a158eff6..e99cd85b 100644 --- a/templates/header.html +++ b/templates/header.html @@ -1,4 +1,4 @@ - + {% if config.url_favicon %}{% endif %} {% if config.url_appletouchicon %}{% endif %} @@ -15,7 +15,7 @@ var modRoot="{{ config.root }}"+(inMod ? "mod.php?/" : ""); {% if not nojavascript %} - + {% if not config.additional_javascript_compile %} {% if not config.deferred_javascript %} {% for javascript in config.additional_javascript|merge(config.additional_javascript_defer) %}{% endfor %} diff --git a/templates/mod/ban_list.html b/templates/mod/ban_list.html index 50238deb..b67bd6dc 100644 --- a/templates/mod/ban_list.html +++ b/templates/mod/ban_list.html @@ -1,4 +1,4 @@ - +