night0721.xyz/layouts/_default/_markup/render-link.html

1 line
151 B
HTML
Raw Normal View History

2023-11-07 21:55:50 +01:00
<a href="{{ .Destination | safeURL }}"{{ if strings.HasPrefix .Destination "http" }} target="_blank" rel="noopener"{{ end }}>{{ .Text | safeHTML }}</a>