night0721.xyz/layouts/_default/_markup/render-link.html
2023-11-07 20:55:50 +00:00

1 line
No EOL
151 B
HTML

<a href="{{ .Destination | safeURL }}"{{ if strings.HasPrefix .Destination "http" }} target="_blank" rel="noopener"{{ end }}>{{ .Text | safeHTML }}</a>