mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-11-21 14:32:19 +00:00
gemini: include post title in mailto reply link
This commit is contained in:
parent
b23af4eb46
commit
bf2a6baa67
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