aboutsummaryrefslogtreecommitdiff
path: root/layouts/_default
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default')
-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 6cb5005..fe5dd83 100644
--- a/layouts/_default/single.gmi
+++ b/layouts/_default/single.gmi
@@ -30,7 +30,7 @@
{{- $content = $content | replaceRE `\n- ` "\n* " }}
{{- $content = $content | emojify }}
{{- $content | safeHTML }}
-{{- if (.Page.Params.makerefs | default true) }}
+{{- if and (.Page.Params.makerefs | default true) $refs }}
## Links
{{- $scratch.Set "ref" 1 }}