schuelerzeitung/layouts/_default/_markup/render-link.html

2 lines
182 B
HTML
Raw Normal View History

2023-03-26 15:44:45 +02:00
<a href="{{ .Destination | safeURL }}"{{ with .Title}} title="{{ . }}"{{ end }}{{ if strings.HasPrefix .Destination "http" }} target="_blank" rel="noopener"{{ end }}>{{ .Text }}</a>