fix: space before links

Mainly noticeable in CKJ languages.

Fix #1872
This commit is contained in:
George Cushen committed 2020-10-01 13:09:54 +01:00
1 parent 2522f0f120
commit f5d9cab6be
1 file changed
+1 -1
@@ -1,2 +1,2 @@
{{/* A Hugo Markdown render hook to parse links, opening external links in new tabs. */}}
{{- /* 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>