aboutsummaryrefslogtreecommitdiff
path: root/templates/archive.html
diff options
context:
space:
mode:
authorJieiku2026-08-20 17:25:24 -0700
committerJieiku2026-08-20 17:25:24 -0700
commit1a3401dbf731b7d29daa42f3b7d6cd32503dd55e (patch)
tree45ffeb857f541fa89b0deedc18c978fcac761b61 /templates/archive.html
parentb4969fde502b81ac5ea045cbf2d24c2db4bba8eb (diff)
downloadabridge-1a3401dbf731b7d29daa42f3b7d6cd32503dd55e.tar.gz
abridge-1a3401dbf731b7d29daa42f3b7d6cd32503dd55e.tar.bz2
abridge-1a3401dbf731b7d29daa42f3b7d6cd32503dd55e.zip
Update for Zola 0.23.4
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 %}