mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2026-02-02 06:28:28 -06:00
See https://gohugo.io/getting-started/configuration-markup#markdown-render-hooks
2 lines
191 B
HTML
2 lines
191 B
HTML
<a href="{{ .Destination | safeURL }}"{{ with .Title}}title="{{ . }}"{{ end }}{{ if strings.HasPrefix .Destination "http" }}target="_blank" rel="noopener"{{ end }}>{{ .Text | safeHTML }}</a>
|