summaryrefslogtreecommitdiff
path: root/layouts/_default
diff options
context:
space:
mode:
authorNicholas Johnson <nick@nicksphere.ch>2022-09-06 00:00:00 +0000
committerNicholas Johnson <nick@nicksphere.ch>2022-09-06 00:00:00 +0000
commita9efc8fc6cdefd450f72617e993c45fe347b067031a31c4aa1545a39e5631f3c (patch)
treeb89d9ef111d689f65ce290b563158594263cc3a66604b3a45071774a03d9ac89 /layouts/_default
parent7aa73a7d327d7fc780a7fda2cd3cc9668df57ce1a7131e81a06a2ac26b0e8311 (diff)
downloadhugo-theme-journal-a9efc8fc6cdefd450f72617e993c45fe347b067031a31c4aa1545a39e5631f3c.tar.gz
hugo-theme-journal-a9efc8fc6cdefd450f72617e993c45fe347b067031a31c4aa1545a39e5631f3c.zip
Add missing link emoji for Gemini
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 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 }}