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 70e1f91..02a4f54 100644
--- a/templates/404.html
+++ b/templates/404.html
@@ -1,5 +1,5 @@
{% extends "base.html" %}
-{%- set uglyurls = config.extra.uglyurls | default(value=false) -%}
+{%- set uglyurls = (config.extra.uglyurls or false) -%}
{%- if config.extra.search_library %}{%- if config.extra.search_library == "offline" %}{% set uglyurls = true %}{% endif %}{% endif %}
{%- block seo -%}