Jelajahi Sumber

fix: space before links

Mainly noticeable in CKJ languages.

Fix #1872
George Cushen 4 tahun lalu
induk
melakukan
f5d9cab6be
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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>