diff options
author | Nicholas Johnson <nick@nicksphere.ch> | 2022-09-06 00:00:00 +0000 |
---|---|---|
committer | Nicholas Johnson <nick@nicksphere.ch> | 2022-09-06 00:00:00 +0000 |
commit | a9efc8fc6cdefd450f72617e993c45fe347b067031a31c4aa1545a39e5631f3c (patch) | |
tree | b89d9ef111d689f65ce290b563158594263cc3a66604b3a45071774a03d9ac89 | |
parent | 7aa73a7d327d7fc780a7fda2cd3cc9668df57ce1a7131e81a06a2ac26b0e8311 (diff) | |
download | hugo-theme-journal-a9efc8fc6cdefd450f72617e993c45fe347b067031a31c4aa1545a39e5631f3c.tar.gz hugo-theme-journal-a9efc8fc6cdefd450f72617e993c45fe347b067031a31c4aa1545a39e5631f3c.zip |
Add missing link emoji for Gemini
-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 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 }} |