From 6921dbbd080602b1f1bb8b0d480add9604bba6c5 Mon Sep 17 00:00:00 2001 From: Danila Fedorin Date: Sun, 23 Jun 2024 17:24:28 -0700 Subject: [PATCH] Disable down link icons since they're buggy Signed-off-by: Danila Fedorin --- layouts/_default/_markup/render-link.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/layouts/_default/_markup/render-link.html b/layouts/_default/_markup/render-link.html index 156e363..5a56e9a 100644 --- a/layouts/_default/_markup/render-link.html +++ b/layouts/_default/_markup/render-link.html @@ -9,7 +9,8 @@ {{- if index (.Page.Scratch.Get "definedSections") .Destination -}} {{- $scratch.Set "icon" "arrow-up" -}} {{- else -}} - {{- $scratch.Set "icon" "arrow-down" -}} + {{- /* Do not render "down" links because don't know how to distinguish unseen titles from paragraph links. */ -}} + {{- /* $scratch.Set "icon" "arrow-down" */ -}} {{- end -}} {{- else if $isExternal -}} {{- $scratch.Set "class" "external-link" -}}