Rename theme path

This commit is contained in:
Dave Gallant
2024-01-07 10:19:25 -05:00
parent b9926ba634
commit 51bd556992
122 changed files with 1 additions and 2 deletions

View File

@@ -0,0 +1,13 @@
{{- $isExternal := strings.HasPrefix .Destination "http" -}}
<a
href="{{ .Destination | safeURL }}"
{{ with .Title }}
title="{{ . }}"
{{ end }}
{{ if $isExternal }}
class="link--external" target="_blank" rel="noreferrer"
{{ end }}
>
{{- .Text | safeHTML -}}
</a>
{{- /* Trimm trailing whitespace */ -}}