Added ability to open links in new tabs instead of the same tab

This commit is contained in:
AHMZA
2021-12-29 02:08:17 +00:00
parent c8d1613e9b
commit bf39cad5f5
@@ -0,0 +1 @@
<a href="{{ .Destination | safeURL }}"{{ with .Title}} title="{{ . }}"{{ end }}{{ if strings.HasPrefix .Destination "http" }} target="_blank"{{ end }}>{{ .Text | safeHTML }}</a>