aboutsummaryrefslogtreecommitdiff
path: root/templates/macros/head.html
diff options
context:
space:
mode:
authorJieiku2023-08-22 14:43:59 -0700
committerJieiku2023-08-22 14:43:59 -0700
commit3f5567573bf002e1c8f8c8448bc8d9433d216d24 (patch)
treebd41e4c94e2def8d62385da154aeb2a25b5e6206 /templates/macros/head.html
parent61f2e1c3ac343163a5361686ad529c7039387310 (diff)
downloadabridge-3f5567573bf002e1c8f8c8448bc8d9433d216d24.tar.gz
abridge-3f5567573bf002e1c8f8c8448bc8d9433d216d24.tar.bz2
abridge-3f5567573bf002e1c8f8c8448bc8d9433d216d24.zip
update icons alternative unicode
Diffstat (limited to 'templates/macros/head.html')
-rw-r--r--templates/macros/head.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/macros/head.html b/templates/macros/head.html
index 2c85f16..673954b 100644
--- a/templates/macros/head.html
+++ b/templates/macros/head.html
@@ -95,7 +95,11 @@
{%- if config.extra.js_bundle %}
+ {%- if config.build_search_index %}
<script defer src="{{ get_url(path='js/abridge.min.js', trailing_slash=false, cachebust=true) | safe }}"{%- if config.extra.integrity | default(value=true) %} integrity="sha384-{{ get_hash(path='js/abridge.min.js', sha_type=384, base64=true) | safe }}"{%- endif %}></script>
+ {%- else %}
+ <script defer src="{{ get_url(path='js/abridge-nosearch.min.js', trailing_slash=false, cachebust=true) | safe }}"{%- if config.extra.integrity | default(value=true) %} integrity="sha384-{{ get_hash(path='js/abridge-nosearch.min.js', sha_type=384, base64=true) | safe }}"{%- endif %}></script>
+ {%- endif %}
{%- if config.build_search_index %}
{%- if search_library == "elasticlunr" %}