aboutsummaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authorNicholas Johnson <nick@nicholasjohnson.ch>2023-09-09 00:00:00 +0000
committerNicholas Johnson <nick@nicholasjohnson.ch>2023-09-09 00:00:00 +0000
commit58f0967b0c845679b7f44eee494885639f58521e3923aeb97f1312b2d6757706 (patch)
treef7440a99b4b4f0d9778ddef001cb8ef8b26a7861a2571191f55cc1ae88f6343f /layouts
parent89e7b7b8c4bdb63cb5f6f154fd0d9c18a4beabff57d1f01f1adbf8219b1a3d49 (diff)
downloadhugo-theme-journal-58f0967b0c845679b7f44eee494885639f58521e3923aeb97f1312b2d6757706.tar.gz
hugo-theme-journal-58f0967b0c845679b7f44eee494885639f58521e3923aeb97f1312b2d6757706.zip
Add brackets around link index numbers
Diffstat (limited to 'layouts')
-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 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 -}}