Compare commits

..

1 Commits

Author SHA1 Message Date
8b6874ec75 Allow disabling external-links-in-new-tab
Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
2024-06-24 17:51:46 -07:00

View File

@@ -21,7 +21,7 @@
{{- with $scratch.Get "class" -}}
class="{{ . }}"
{{- end -}}
{{- if $isExternal -}}
{{- if (and site.Params.externalLinksInNewTab $isExternal) -}}
target="_blank" rel="noopener noreferrer"
{{- end -}}
>