From 940b40688a7cf595eee061b696187e2fe4a578e2 Mon Sep 17 00:00:00 2001 From: Jieiku Date: Mon, 22 May 2023 22:31:34 -0700 Subject: Json-Index and config.toml optional --- templates/page.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'templates/page.html') diff --git a/templates/page.html b/templates/page.html index f92cdea..da4fdd6 100644 --- a/templates/page.html +++ b/templates/page.html @@ -81,8 +81,9 @@ {%- if page.reading_time %} {%- if page.reading_time > 2 %} +{%- set icon_top=config.extra.icon_top | default(value="svgs svgh angu") -%} - {%- if config.extra.icon_top %}{%- else %}⋏{%- endif %} + {%- if icon_top %}{%- else %}⋏{%- endif %} {%- endif %} {%- endif %} -- cgit v1.3.1