From 886aafac1f1fbdee64537938fa906c3dacb516eb Mon Sep 17 00:00:00 2001 From: Reorx Date: Thu, 8 Sep 2022 23:17:43 +0800 Subject: inline_links partial finally find a way to determine whether a section/term page has archives or not by conquering hugo's faultiness of .RelPermalink --- layouts/_default/list.html | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'layouts/_default/list.html') diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 654297b..7dce17b 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -7,20 +7,17 @@ {{- if not .IsHome | and .Title }} {{- end }} -- cgit v1.2.3