From 58f0967b0c845679b7f44eee494885639f58521e3923aeb97f1312b2d6757706 Mon Sep 17 00:00:00 2001 From: Nicholas Johnson Date: Sat, 9 Sep 2023 00:00:00 +0000 Subject: Add brackets around link index numbers --- layouts/_default/single.gmi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts/_default/single.gmi') diff --git a/layouts/_default/single.gmi b/layouts/_default/single.gmi index 8dc150b..94b7c62 100644 --- a/layouts/_default/single.gmi +++ b/layouts/_default/single.gmi @@ -90,7 +90,7 @@ {{ $ref_title := index . 3 -}} {{/* render referenced links */}} -{{ print "=> " $ref_link (emojify " :link: ") $ref_index ": " (cond (ne (len $ref_title) 0) $ref_title $ref_text) | safeHTML -}} +{{ print "=> " $ref_link (emojify " :link: [") $ref_index "]: " (cond (ne (len $ref_title) 0) $ref_title $ref_text) | safeHTML -}} {{ end -}} {{ end -}} -- cgit v1.2.3