From 5e55301cc2c91a5f0e99000bfe4d7ec262ee78c1 Mon Sep 17 00:00:00 2001 From: Jieiku Date: Fri, 8 Sep 2023 15:08:39 -0700 Subject: Refactor package.json --- templates/archive.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'templates/archive.html') diff --git a/templates/archive.html b/templates/archive.html index eff70a9..8ac3cfc 100644 --- a/templates/archive.html +++ b/templates/archive.html @@ -4,6 +4,8 @@ This Template can also be used as the rendering template for Sections, eg: examp #} {% extends "base.html" %} +{%- set uglyurls = config.extra.uglyurls | default(value=false) -%} +{%- if config.extra.offline %}{% set uglyurls = true %}{% endif %} {%- block seo %} {{- super() }} @@ -62,7 +64,7 @@ This Template can also be used as the rendering template for Sections, eg: examp {%- endif %} {%- endif %} {%- for post in posts %} -

{{ post.title }}{%- if not hide_section_dates %} - {%- endif %}

+

{{ post.title }}{%- if not hide_section_dates %} - {%- endif %}

{%- endfor %} {%- endfor %} {%- else %} @@ -75,7 +77,7 @@ This Template can also be used as the rendering template for Sections, eg: examp {%- endif %} {%- endif %} {%- for post in posts %} -

{{ post.title }}{%- if not hide_section_dates %} - {%- endif %}

+

{{ post.title }}{%- if not hide_section_dates %} - {%- endif %}

{%- endfor %} {%- endfor %} {%- endif %} -- cgit v1.3.1