aboutsummaryrefslogtreecommitdiff
path: root/templates/404.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/404.html')
-rw-r--r--templates/404.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/404.html b/templates/404.html
index 02a4f54..c499874 100644
--- a/templates/404.html
+++ b/templates/404.html
@@ -1,6 +1,4 @@
{% extends "base.html" %}
-{%- 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 -%}
{{ super() }}
@@ -15,6 +13,8 @@
{%- endblock seo -%}
{%- block content %}
+{%- set uglyurls = (config.extra.uglyurls or false) -%}
+{%- if config.extra.search_library %}{%- if config.extra.search_library == "offline" %}{% set uglyurls = true %}{% endif %}{% endif %}
<div>
<h1>404 :(</h1>
{#- Default English message #}