From 1a3401dbf731b7d29daa42f3b7d6cd32503dd55e Mon Sep 17 00:00:00 2001 From: Jieiku Date: Thu, 20 Aug 2026 17:25:24 -0700 Subject: Update for Zola 0.23.4 --- templates/index.html | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'templates/index.html') diff --git a/templates/index.html b/templates/index.html index fc75d95..3b42287 100644 --- a/templates/index.html +++ b/templates/index.html @@ -3,9 +3,6 @@ This Template Shows a paginated page of the Posts of a section with a short summ This Template can also be used directly for the index eg: example.com/ or as the rendering template for Sections, eg: example.com/blog/ example.com/software/ #} {%- 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() -}} @@ -28,6 +25,8 @@ This Template can also be used directly for the index eg: example.com/ or as the {%- 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 %}