diff options
| author | Jieiku | 2026-08-20 17:25:24 -0700 |
|---|---|---|
| committer | Jieiku | 2026-08-20 17:25:24 -0700 |
| commit | 1a3401dbf731b7d29daa42f3b7d6cd32503dd55e (patch) | |
| tree | 45ffeb857f541fa89b0deedc18c978fcac761b61 /templates/index.html | |
| parent | b4969fde502b81ac5ea045cbf2d24c2db4bba8eb (diff) | |
| download | abridge-1a3401dbf731b7d29daa42f3b7d6cd32503dd55e.tar.gz abridge-1a3401dbf731b7d29daa42f3b7d6cd32503dd55e.tar.bz2 abridge-1a3401dbf731b7d29daa42f3b7d6cd32503dd55e.zip | |
Update for Zola 0.23.4
Diffstat (limited to 'templates/index.html')
| -rw-r--r-- | templates/index.html | 5 |
1 files changed, 2 insertions, 3 deletions
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 %} <div> {%- set pages = paginator.pages if paginator else section.pages %} {% for page in pages %} |
