aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwelpo2023-08-03 00:26:16 +0200
committerwelpo2023-08-03 00:26:16 +0200
commit0c0c0e18de8c0db6a9f470fc5b85b367d588f2f1 (patch)
tree14011ed2a4e158a7e9a6366ece01a954f0dea1bd
parent5c3cc8966834a0d140f82aa178ba26109f79dd8f (diff)
downloadabridge-0c0c0e18de8c0db6a9f470fc5b85b367d588f2f1.tar.gz
abridge-0c0c0e18de8c0db6a9f470fc5b85b367d588f2f1.tar.bz2
abridge-0c0c0e18de8c0db6a9f470fc5b85b367d588f2f1.zip
fix: load nojs.css regardless of build_search_index
-rw-r--r--templates/base.html4
1 files changed, 1 insertions, 3 deletions
diff --git a/templates/base.html b/templates/base.html
index 0177ea1..f609516 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -27,9 +27,7 @@
<meta name="apple-mobile-web-app-status-bar-style" content="default" />
{{- macros_head::security(config=config) }}
{{- macros_head::favicons(config=config) }}
- {%- if config.build_search_index %}
<noscript><link rel="stylesheet" href="{{ get_url(path='nojs.css', trailing_slash=false) | safe }}" /></noscript>
- {%- endif %}
</head>
<body>
{%- block header %}
@@ -119,4 +117,4 @@
{%- block gotop %}
{%- endblock gotop %}
</body>
-</html> \ No newline at end of file
+</html>