From 112abca730d7585e548fedf58162e098eb4304b357ca3f0c47fed4f5d7cb960e Mon Sep 17 00:00:00 2001 From: Nicholas Johnson Date: Sat, 21 Jan 2023 00:00:00 +0000 Subject: Fix typo --- 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 fe5dd83..7c110ee 100644 --- a/layouts/_default/single.gmi +++ b/layouts/_default/single.gmi @@ -22,7 +22,7 @@ {{- $scratch.Set "content" $contentInLoop }} {{- $scratch.Set "ref" (add $ref 1) }} {{- end }} -{{- $content := $scratch.Get "content" | replaceRE `\[(.+?)\]\((.+?)\) #(\d+)` "$1[$3]" }} +{{- $content = $scratch.Get "content" | replaceRE `\[(.+?)\]\((.+?)\) #(\d+)` "$1[$3]" }} {{- else }} {{- $content = $content | replaceRE `\n\[(.+?)\]\((.+?)\)` (print "\n=> $2 " $emoji "$1") }} {{- end }} -- cgit v1.2.3