diff options
Diffstat (limited to 'layouts')
-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 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 }} |