aboutsummaryrefslogtreecommitdiff
path: root/templates/archive.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/archive.html')
-rw-r--r--templates/archive.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/archive.html b/templates/archive.html
index 587d7ea..e078bdd 100644
--- a/templates/archive.html
+++ b/templates/archive.html
@@ -5,7 +5,7 @@ This Template can also be used as the rendering template for Sections, eg: examp
{% 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() }}