aboutsummaryrefslogtreecommitdiff
path: root/templates/archive.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/archive.html')
-rw-r--r--templates/archive.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/archive.html b/templates/archive.html
index 3ec7d67..2dcf48d 100644
--- a/templates/archive.html
+++ b/templates/archive.html
@@ -4,8 +4,6 @@ This Template can also be used as the rendering template for Sections, eg: examp
#}
{% 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() -}}
@@ -20,6 +18,8 @@ This Template can also be used as the rendering template for Sections, eg: examp
{%- 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 %}
{#- The following line is checking if the template is being used for the archive page or a section #}
{%- if current_path is matching(pat="^(/[[:alpha:]][[:alpha:]])?/archive/$") %}
{%- if section.extra.sec %}