Disable down link icons since they're buggy

Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
This commit is contained in:
Danila Fedorin 2024-06-23 17:24:28 -07:00
parent a622d4d77c
commit 6921dbbd08

View File

@ -9,7 +9,8 @@
{{- if index (.Page.Scratch.Get "definedSections") .Destination -}} {{- if index (.Page.Scratch.Get "definedSections") .Destination -}}
{{- $scratch.Set "icon" "arrow-up" -}} {{- $scratch.Set "icon" "arrow-up" -}}
{{- else -}} {{- 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 -}} {{- end -}}
{{- else if $isExternal -}} {{- else if $isExternal -}}
{{- $scratch.Set "class" "external-link" -}} {{- $scratch.Set "class" "external-link" -}}