summaryrefslogtreecommitdiff
path: root/layouts/_default/single.gmi
diff options
context:
space:
mode:
authorNicholas Johnson <nick@nicholasjohnson.ch>2023-01-28 00:00:00 +0000
committerNicholas Johnson <nick@nicholasjohnson.ch>2023-01-28 00:00:00 +0000
commit944f7cd088fa2cd180780d3a5e70f9fddf23c70eb60cd422d65b8e553d5662e5 (patch)
treefbca4b02a5766b2c5854a1e13c6888461f61cab6a718ad9acdfe71bbece862d4 /layouts/_default/single.gmi
parent5cbfcc053bfca905fbced3d41ae1ff52a7a841fb95fe039fbec38ce1b22e5192 (diff)
downloadhugo-theme-journal-04fbc5fb41423a6153d660965249c43d57a8a3e82fc5a758c007931bca5be874.tar.gz
hugo-theme-journal-04fbc5fb41423a6153d660965249c43d57a8a3e82fc5a758c007931bca5be874.zip
Always render link emoji for referencesv0.3.2
Diffstat (limited to 'layouts/_default/single.gmi')
-rw-r--r--layouts/_default/single.gmi2
1 files changed, 1 insertions, 1 deletions
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 }}