Explorar o código

fix: space before links

Mainly noticeable in CKJ languages.

Fix #1872
George Cushen %!s(int64=4) %!d(string=hai) anos
pai
achega
f5d9cab6be
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      wowchemy/layouts/_default/_markup/render-link.html

+ 1 - 1
wowchemy/layouts/_default/_markup/render-link.html

@@ -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>