From 545b156568672aa6b28713ca4ee6d153ade2281a Mon Sep 17 00:00:00 2001 From: amzrk2 Date: Fri, 24 Apr 2020 14:32:27 +0800 Subject: Smooth toc html anchor --- layouts/partials/scripts.html | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'layouts/partials/scripts.html') diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts.html index 2f83c91..fd5aa3b 100644 --- a/layouts/partials/scripts.html +++ b/layouts/partials/scripts.html @@ -60,6 +60,17 @@ }); {{ end }} +{{ if in .Site.Params.mainSections .Type }} + + +{{ end }} {{ if .Site.Params.scrollTop }}