Open external links in new tab
This commit is contained in:
parent
14f7330dc7
commit
bf39a4157c
|
@ -0,0 +1 @@
|
|||
<a href="{{ .Destination | safeURL }}"{{ with .Title}} title="{{ . }}"{{ end }}{{ if strings.HasPrefix .Destination "http" }} target="_blank"{{ end }}>{{ .Text | markdownify }}</a>
|
Reference in New Issue