diff options
author | Nicholas Johnson <nick@nicholasjohnson.ch> | 2023-01-21 00:00:00 +0000 |
---|---|---|
committer | Nicholas Johnson <nick@nicholasjohnson.ch> | 2023-01-21 00:00:00 +0000 |
commit | bae28645e8b634ecb1e960b725bd9479169a08b59a8940daf46385b710a8dee5 (patch) | |
tree | 3e3cc7393b265f04dff15122ec24d42a339e49ec3dbf176c516fa7e07e435ff0 /layouts/_default/_markup | |
parent | 7cfac54124aa92a3333b526fe6f35141797635ec046b4874c706f6c2743f9579 (diff) | |
download | hugo-theme-journal-bae28645e8b634ecb1e960b725bd9479169a08b59a8940daf46385b710a8dee5.tar.gz hugo-theme-journal-bae28645e8b634ecb1e960b725bd9479169a08b59a8940daf46385b710a8dee5.zip |
Fix newline after links
Diffstat (limited to 'layouts/_default/_markup')
-rw-r--r-- | layouts/_default/_markup/render-link.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/_markup/render-link.html b/layouts/_default/_markup/render-link.html index 8a0192e..b6725f6 100644 --- a/layouts/_default/_markup/render-link.html +++ b/layouts/_default/_markup/render-link.html @@ -1,2 +1,2 @@ {{ $emoji := cond (.Page.Params.showlinkemoji | default true) (emojify ":link: ") "" -}} -<a class="link" href="{{ .Destination | safeURL }}" rel="noreferrer">{{ $emoji }}{{ .Text | safeHTML }}</a> +<a class="link" href="{{ .Destination | safeURL }}" rel="noreferrer">{{ $emoji }}{{ .Text | safeHTML }}</a>
\ No newline at end of file |