Тест, фикс вертаем назад
All checks were successful
/ site (push) Successful in 0s

This commit is contained in:
Артём 2024-11-07 23:04:41 +03:00
parent cdfada1e27
commit 44262353c1
No known key found for this signature in database
GPG key ID: EEFBB39006B28920

View file

@ -1,3 +1 @@
<a href="{{ .Destination | safeURL }}"{{ with .Title}} title="{{ . }}"{{ end }}{{ if or (strings.HasPrefix .Destination "http") (strings.HasPrefix .Destination "https") }} target="_blank"{{ end }} >{{ .Text | safeHTML }}</a>
<!-- https://digitaldrummerj.me/hugo-links-to-other-pages/ -->
<a href="{{ .Destination | safeURL }}"{{ with .Title}} title="{{ . }}"{{ end }}{{ if or (strings.HasPrefix .Destination "http") (strings.HasPrefix .Destination "https") }} target="_blank" {{ end }}>{{ .Text | safeHTML }}</a>