mirror of
https://gitlab.com/ansol/web-ansol.org.git
synced 2024-11-22 14:21:31 +00:00
2 lines
282 B
HTML
2 lines
282 B
HTML
{{/* A Hugo Markdown render hook to parse links, opening external links in new tabs. */}}
|
|
<a href="{{ .Destination | safeURL }}"{{ with .Title}} title="{{ . }}"{{ end }}{{ if strings.HasPrefix .Destination "http" }} target="_blank" rel="noopener"{{ end }}>{{ .Text | safeHTML }}</a> |