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 | de43c232ef7de4cfff6f2779c0d7918fb5ca85b8a077d03957617965e64f541b (patch) | |
tree | d3b291ff9e66ff00be7df6689fffbbdf931b7ed0b17488462d2ceaa01d0b7a8c /layouts/_default/_markup | |
parent | bae28645e8b634ecb1e960b725bd9479169a08b59a8940daf46385b710a8dee5 (diff) | |
download | hugo-theme-journal-de43c232ef7de4cfff6f2779c0d7918fb5ca85b8a077d03957617965e64f541b.tar.gz hugo-theme-journal-de43c232ef7de4cfff6f2779c0d7918fb5ca85b8a077d03957617965e64f541b.zip |
Don't break space between emoji and link text
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 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: ") "" -}} <a class="link" href="{{ .Destination | safeURL }}" rel="noreferrer">{{ $emoji }}{{ .Text | safeHTML }}</a>
\ No newline at end of file |