Hilbish/website/themes/hsh/layouts/_default/_markup/render-link.html

5 lines
195 B
HTML
Raw Normal View History

2022-12-13 19:14:48 +00:00
<a href="{{ .Destination | safeURL }}"{{ with .Title}} title="{{ . }}"{{ end }}{{ if eq (substr .Destination 0 4) "http" }} target="_blank" rel="noopener"{{ end }}>
{{ .Text | safeHTML }}
</a>