hacker.tours-website/themes/zen/layouts/_default/_markup/render-link.html.example
2024-06-13 22:14:05 +02:00

2 lines
204 B
Plaintext

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