From 944f7cd088fa2cd180780d3a5e70f9fddf23c70eb60cd422d65b8e553d5662e5 Mon Sep 17 00:00:00 2001 From: Nicholas Johnson Date: Sat, 28 Jan 2023 00:00:00 +0000 Subject: Always render link emoji for references --- layouts/_default/single.gmi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts') diff --git a/layouts/_default/single.gmi b/layouts/_default/single.gmi index c32b812..e93ee81 100644 --- a/layouts/_default/single.gmi +++ b/layouts/_default/single.gmi @@ -51,7 +51,7 @@ {{- $ref_num := add $ref_index 1 }} {{- $ref_text := replaceRE `\[(.+?)\]\((.+?)\)` "$1" $ref_val 1 }} {{- $ref_link := replaceRE `\[(.+?)\]\((.+?)\)` "$2" $ref_val 1 }} -{{ print "=> " $ref_link " " $emoji $ref_num ": " $ref_text | safeHTML }} +{{ print "=> " $ref_link (emojify " :link: ") $ref_num ": " $ref_text | safeHTML }} {{- end }} {{- end }} {{- end }} -- cgit v1.2.3