diff options
author | Nicholas Johnson <nick@nicholasjohnson.ch> | 2023-01-28 00:00:00 +0000 |
---|---|---|
committer | Nicholas Johnson <nick@nicholasjohnson.ch> | 2023-01-28 00:00:00 +0000 |
commit | 944f7cd088fa2cd180780d3a5e70f9fddf23c70eb60cd422d65b8e553d5662e5 (patch) | |
tree | fbca4b02a5766b2c5854a1e13c6888461f61cab6a718ad9acdfe71bbece862d4 /layouts/_default/single.gmi | |
parent | 5cbfcc053bfca905fbced3d41ae1ff52a7a841fb95fe039fbec38ce1b22e5192 (diff) | |
download | hugo-theme-journal-944f7cd088fa2cd180780d3a5e70f9fddf23c70eb60cd422d65b8e553d5662e5.tar.gz hugo-theme-journal-944f7cd088fa2cd180780d3a5e70f9fddf23c70eb60cd422d65b8e553d5662e5.zip |
Always render link emoji for referencesv0.3.2
Diffstat (limited to 'layouts/_default/single.gmi')
-rw-r--r-- | layouts/_default/single.gmi | 2 |
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 }} |