From a253368f7695c33ce88a2363426c710f0069500e Mon Sep 17 00:00:00 2001 From: Ian Lewis Date: Tue, 12 Nov 2019 19:00:30 -0500 Subject: Add fragment links only on docs pages Add fragment links only on docs pages and only when there is an 'id' attribute. --- layouts/partials/scripts.html | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts.html index 52c7c327f..08f400598 100644 --- a/layouts/partials/scripts.html +++ b/layouts/partials/scripts.html @@ -12,8 +12,12 @@ {{ partial "hooks/body-end.html" . }} -- cgit v1.2.3