diff options
author | Nicholas Johnson <nick@nicholasjohnson.ch> | 2023-09-09 00:00:00 +0000 |
---|---|---|
committer | Nicholas Johnson <nick@nicholasjohnson.ch> | 2023-09-09 00:00:00 +0000 |
commit | 58f0967b0c845679b7f44eee494885639f58521e3923aeb97f1312b2d6757706 (patch) | |
tree | f7440a99b4b4f0d9778ddef001cb8ef8b26a7861a2571191f55cc1ae88f6343f | |
parent | 89e7b7b8c4bdb63cb5f6f154fd0d9c18a4beabff57d1f01f1adbf8219b1a3d49 (diff) | |
download | hugo-theme-journal-58f0967b0c845679b7f44eee494885639f58521e3923aeb97f1312b2d6757706.tar.gz hugo-theme-journal-58f0967b0c845679b7f44eee494885639f58521e3923aeb97f1312b2d6757706.zip |
Add brackets around link index numbers
-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 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 -}} |