From 5cbfcc053bfca905fbced3d41ae1ff52a7a841fb95fe039fbec38ce1b22e5192 Mon Sep 17 00:00:00 2001 From: Nicholas Johnson Date: Sat, 28 Jan 2023 00:00:00 +0000 Subject: Don't render link emoji for inline links --- layouts/_default/_markup/render-link.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts/_default/_markup/render-link.html') diff --git a/layouts/_default/_markup/render-link.html b/layouts/_default/_markup/render-link.html index d973959..0db1d0d 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 (and (not (.Page.Params.makerefs | default true)) (.Page.Params.showlinkemoji | default true)) (emojify ":link: ") "" -}} {{ $emoji }}{{ .Text | safeHTML }} \ No newline at end of file -- cgit v1.2.3