From 788ac2c3d0a90f2240c5788be98d76e311250c70 Mon Sep 17 00:00:00 2001 From: amzrk2 Date: Mon, 19 Oct 2020 09:50:04 +0800 Subject: fix: try fix #55 p.2 --- layouts/partials/sidebar.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts') diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index dae09a0..6847375 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -33,7 +33,7 @@ - {{ if in .Site.Params.mainSections .Type }} + {{ if .IsPage }} {{ if and (ne .Site.Params.showToc false) (ne .Params.showToc false) }}