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:
authorBenedikt T <datacobra@thinkbot.de>2021-07-31 20:48:35 +0300
committerGitHub <noreply@github.com>2021-07-31 20:48:35 +0300
commit2862989136432a3f5bc2ed23954606f1b3e712a2 (patch)
treeb6059eb4ad6138d79866aa61bb6a724e85f69395
parentae486635aa62070ced8846ae3d8bc444b21fb394 (diff)
parent6779752349c7cd95924f2b3294db0825c137a0a2 (diff)
Merge pull request #69 from jeffschoner/remove-link-newline3.0.2
Remove terminal newline in link template
-rw-r--r--CONTRIBUTORS.md1
-rw-r--r--layouts/_default/_markup/render-link.html2
2 files changed, 2 insertions, 1 deletions
diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md
index 6f7722d..9a0526d 100644
--- a/CONTRIBUTORS.md
+++ b/CONTRIBUTORS.md
@@ -16,3 +16,4 @@ collaboration of others.
* [Jörg Thalheim](https://github.com/Mic92)
* [David Kaufmann](https://github.com/davidkaufmann)
* [Sarath Chandra Mekala](https://github.com/sarathmekala)
+* [Jeff Schoner](https://github.com/jeffschoner)
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