aboutsummaryrefslogtreecommitdiff
path: root/templates/404.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/404.html')
-rw-r--r--templates/404.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/404.html b/templates/404.html
index fee5607..40fb731 100644
--- a/templates/404.html
+++ b/templates/404.html
@@ -1,6 +1,6 @@
{% extends "base.html" %}
{%- set uglyurls = config.extra.uglyurls | default(value=false) -%}
-{%- if config.extra.offline %}{% set uglyurls = true %}{% endif %}
+{%- if config.extra.search_library %}{%- if config.extra.search_library == "offline" %}{% set uglyurls = true %}{% endif %}{% endif %}
{%- block seo %}
{{ super() }}