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/macros/page.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'templates/macros/page.html') diff --git a/templates/macros/page.html b/templates/macros/page.html index 7fd0f77..23b9e09 100644 --- a/templates/macros/page.html +++ b/templates/macros/page.html @@ -1,5 +1,7 @@ {%- macro page_listing(page, config) %} +{%- set uglyurls = config.extra.uglyurls | default(value=false) -%} +{%- if config.extra.offline %}{% set uglyurls = true %}{% endif %}
- {{ page.title }} + {{ page.title }}
{%- endmacro page_listing %} -- cgit v1.3.1