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

2 lines
191 B
HTML
Raw Permalink Normal View History

2022-12-29 02:27:05 +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>