Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dataCobra/hugo-vitae.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Schoner <jeffschoner@gmail.com>2021-07-31 20:20:18 +0300
committerJeff Schoner <jeffschoner@gmail.com>2021-07-31 20:40:34 +0300
commit7cd37aa6e7e486afbe225771daa16338f12a812e (patch)
treee704071b4934bfe241fb6bf5a3374c0a89cb3f2f
parentae486635aa62070ced8846ae3d8bc444b21fb394 (diff)
Remove newline from link render template
A newline at the end of this file causes all links to have a trailing space. Removing it fixes a regression introduced in 04b0597efa5d7274b560cdb7dd1121519b1ff17c.
-rw-r--r--layouts/_default/_markup/render-link.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/_markup/render-link.html b/layouts/_default/_markup/render-link.html
index 391811d..18cc5e6 100644
--- a/layouts/_default/_markup/render-link.html
+++ b/layouts/_default/_markup/render-link.html
@@ -1 +1 @@
-<a href="{{ .Destination | safeURL }}"{{ with .Title}} title="{{ . }}"{{ end }}{{ if strings.HasPrefix .Destination "http" }} target="_blank"{{ end }}>{{ .Text | htmlUnescape }}</a>
+<a href="{{ .Destination | safeURL }}"{{ with .Title}} title="{{ . }}"{{ end }}{{ if strings.HasPrefix .Destination "http" }} target="_blank"{{ end }}>{{ .Text | htmlUnescape }}</a> \ No newline at end of file