aboutsummaryrefslogtreecommitdiff
path: root/layouts/_default
diff options
context:
space:
mode:
authorNicholas Johnson <nick@nicholasjohnson.ch>2023-01-21 00:00:00 +0000
committerNicholas Johnson <nick@nicholasjohnson.ch>2023-01-21 00:00:00 +0000
commitde43c232ef7de4cfff6f2779c0d7918fb5ca85b8a077d03957617965e64f541b (patch)
treed3b291ff9e66ff00be7df6689fffbbdf931b7ed0b17488462d2ceaa01d0b7a8c /layouts/_default
parentbae28645e8b634ecb1e960b725bd9479169a08b59a8940daf46385b710a8dee5 (diff)
downloadhugo-theme-journal-de43c232ef7de4cfff6f2779c0d7918fb5ca85b8a077d03957617965e64f541b.tar.gz
hugo-theme-journal-de43c232ef7de4cfff6f2779c0d7918fb5ca85b8a077d03957617965e64f541b.zip
Don't break space between emoji and link text
Diffstat (limited to 'layouts/_default')
-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 b6725f6..d973959 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: ") "" -}}
+{{ $emoji := cond (.Page.Params.showlinkemoji | default true) (emojify ":link:&nbsp;") "" -}}
<a class="link" href="{{ .Destination | safeURL }}" rel="noreferrer">{{ $emoji }}{{ .Text | safeHTML }}</a> \ No newline at end of file