Disable down link icons since they're buggy
Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
This commit is contained in:
parent
a622d4d77c
commit
6921dbbd08
|
@ -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" -}}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user