Files
HugoBlox-kit/modules/wowchemy/layouts/_default/_markup/render-link.html
T
Geo a042ab6e60 refactor: rename modules
github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy/v5

github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-plugins-netlify-cms/v1

See #2754
2022-06-28 18:29:39 +01:00

2 lines
286 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>