mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-11-29 18:02:18 +00:00
gemini: include post title in mailto reply link
This commit is contained in:
parent
9f70775a13
commit
25a578064c
1 changed files with 3 additions and 2 deletions
|
@ -33,9 +33,10 @@
|
|||
{{- $scratch.Set "ref" (add $ref 1) -}}
|
||||
{{- end -}}
|
||||
{{- $content := $scratch.Get "content" | replaceRE `\[(.+?)\]\((.+?)\) #(\d+)` "$1 [$3]" -}}{{/* replace inline links with footnote */}}
|
||||
{{- $content | safeHTML -}}
|
||||
{{- $content | safeHTML }}
|
||||
---
|
||||
=> mailto:blog@runtimeterror.dev 📧 Reply via email
|
||||
{{ $subject := printf "Re: %s" .Title }}
|
||||
=> mailto:blog@runtimeterror.dev?subject={{ urlquery $subject | replaceRE `\+` "%20" }} 📧 Reply via email
|
||||
|
||||
## Bibliography
|
||||
{{ $scratch.Set "ref" 1 -}}
|
||||
|
|
Loading…
Reference in a new issue