diff options
author | Nicholas Johnson <nick@nicksphere.ch> | 2022-08-01 00:00:00 +0000 |
---|---|---|
committer | Nicholas Johnson <nick@nicksphere.ch> | 2022-08-01 00:00:00 +0000 |
commit | fa4da755d8c8938a1379dd63e9c550360ff118ed60e330b2088688f22e2fd7ac (patch) | |
tree | d795cb0efcb65f2b23f67093b540d9e9e9819139d8fbf03b8809a339f2324cd1 /layouts/_default | |
parent | 55186f386fec783d83170d13e2d44810673cc35a726c7c88c4031fd6668e43be (diff) | |
download | hugo-theme-journal-fa4da755d8c8938a1379dd63e9c550360ff118ed60e330b2088688f22e2fd7ac.tar.gz hugo-theme-journal-fa4da755d8c8938a1379dd63e9c550360ff118ed60e330b2088688f22e2fd7ac.zip |
Don't HTML escape Gemini templates
Diffstat (limited to 'layouts/_default')
-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 9dfb215..a286ca3 100644 --- a/layouts/_default/single.gmi +++ b/layouts/_default/single.gmi @@ -1,5 +1,5 @@ {{ define "main" }} -=> ./{{ replaceRE ".+?/" "../" .RelPermalink }} Return to homepage +=> ./{{ replaceRE ".+?/" "../" .RelPermalink | safeURL }} Return to homepage {{ $content := .RawContent }} {{- $content = $content | replaceRE `\[(.+?)\]\((.+?)\)` "=> $2 $1" }} |