From a9efc8fc6cdefd450f72617e993c45fe347b067031a31c4aa1545a39e5631f3c Mon Sep 17 00:00:00 2001 From: Nicholas Johnson Date: Tue, 6 Sep 2022 00:00:00 +0000 Subject: Add missing link emoji for Gemini --- layouts/_default/single.gmi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/_default/single.gmi b/layouts/_default/single.gmi index c1d8bf2..145796f 100644 --- a/layouts/_default/single.gmi +++ b/layouts/_default/single.gmi @@ -5,7 +5,7 @@ # {{ .Name | safeHTML }} {{ $content := .RawContent }} {{- $content = $content | replaceRE `\n####{0,3}` "\n###" }} -{{- $content = $content | replaceRE `\n\[(.+?)\]\((.+?)\)` "\n=> $2 $1" }} +{{- $content = $content | replaceRE `\n\[(.+?)\]\((.+?)\)` "\n=> $2 🔗 $1" }} {{- $content = $content | replaceRE `\*{3}(.+?)\*{3}|\*{2}(.+?)\*{2}|\*{1}(.+?)\*{1}` "$1$2$3$4$5$6" }} {{- $content = $content | replaceRE `\n- ` "\n* " }} {{- $content | safeHTML }}{{ end }} -- cgit v1.2.3