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

5 lines
195 B
HTML
Raw Normal View History

2022-06-22 02:05:46 +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>