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/index.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'templates/index.html') diff --git a/templates/index.html b/templates/index.html index ce224c0..a364912 100644 --- a/templates/index.html +++ b/templates/index.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() }} @@ -48,7 +50,7 @@ This Template can also be used as the rendering template for Sections, eg: examp {{ page.content | striptags | truncate(length=150) | safe }} {%- elif page.extra.static_thumbnail %} {%- endif %} - ...more + ...more {%- if config.extra.meta_index.position %} {%- if config.extra.meta_index.position == "bottom" or config.extra.meta_index.position == "both" %} -- cgit v1.3.1