Files
hextra/layouts/_default/_markup/render-link.html
T

2 lines
193 B
HTML
Raw Normal View History

2023-08-06 15:23:37 +01:00
<a href="{{ .Destination | safeURL }}" {{ with .Title }}title="{{ . }}"{{ end }}{{ if strings.HasPrefix .Destination "http" }}target="_blank" rel="noopener"{{ end }}>{{ .Text | safeHTML }}</a>