aboutsummaryrefslogtreecommitdiff
path: root/templates/macros/head.html
diff options
context:
space:
mode:
authorJieiku2023-05-01 15:08:23 -0700
committerJieiku2023-05-22 22:49:42 -0700
commit6c5915c04659a992635742074b2ad92d3e97a9df (patch)
treed31cb3507154c55be0ce7156664849341e3a2909 /templates/macros/head.html
parent1010c41b8ac22e7e69177e0d02e034896fb9eadb (diff)
downloadabridge-6c5915c04659a992635742074b2ad92d3e97a9df.tar.gz
abridge-6c5915c04659a992635742074b2ad92d3e97a9df.tar.bz2
abridge-6c5915c04659a992635742074b2ad92d3e97a9df.zip
Replace import with use
Diffstat (limited to 'templates/macros/head.html')
-rw-r--r--templates/macros/head.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/macros/head.html b/templates/macros/head.html
index 0690bc1..88c9781 100644
--- a/templates/macros/head.html
+++ b/templates/macros/head.html
@@ -96,7 +96,7 @@
{%- if js_theme %}
{%- set js_themeButton=config.extra.js_themeButton | default(value="theme_button.js") -%}
{%- if js_themeButton %}
- <script defer src="{{ get_url(path=js_themeButton, trailing_slash=false) | safe }}"{%- if config.extra.integrity | default(value=true) %} integrity="sha384-{{ get_hash(path=js_themeButton, sha_type=384, base64=true) | safe }}"{%- endif %}></script>
+ <script defer src="{{ get_url(path=js_themeButton, trailing_slash=false, cachebust=true) | safe }}"{%- if config.extra.integrity | default(value=true) %} integrity="sha384-{{ get_hash(path=js_themeButton, sha_type=384, base64=true) | safe }}"{%- endif %}></script>
{%- endif %}
{%- endif %}
{%- endif %}