diff options
Diffstat (limited to 'templates/index.html')
| -rw-r--r-- | templates/index.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/index.html b/templates/index.html index 0b1e83f..802f328 100644 --- a/templates/index.html +++ b/templates/index.html @@ -5,7 +5,8 @@ This Template can also be used directly for the index eg: example.com/ or as the {%- 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() }} |
