aboutsummaryrefslogtreecommitdiff
path: root/templates/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/index.html')
-rw-r--r--templates/index.html5
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 %}