diff options
| author | Jieiku | 2024-08-05 18:07:12 -0700 |
|---|---|---|
| committer | Jieiku | 2024-08-05 18:07:12 -0700 |
| commit | 6c195035966d1b1d2cac50f9aacc3617b3a0e475 (patch) | |
| tree | 1e6b12dafd9d214ae86d09db96cab3119503e366 /templates/index.html | |
| parent | 8e7498017f7d423cf45dc58dc9d254904ccd08d0 (diff) | |
| download | abridge-6c195035966d1b1d2cac50f9aacc3617b3a0e475.tar.gz abridge-6c195035966d1b1d2cac50f9aacc3617b3a0e475.tar.bz2 abridge-6c195035966d1b1d2cac50f9aacc3617b3a0e475.zip | |
simplify switching search library
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() }} |
