Fix email links

This commit is contained in:
JP Hastings-Spital 2023-07-27 23:22:27 +01:00
parent ab53e373f0
commit fc2e9631db
2 changed files with 2 additions and 2 deletions

View file

@ -12,7 +12,7 @@ syndications:
- https://www.goodreads.com/review/show/111897239
---
{{< openlibrary "9780061367779" >}}
{{< openlibrary "9780451162335" >}}
{{% importnote 2023-07-27 %}}
Back when I wrote Goodreads reviews, I tried to keep them short & sweet — which makes them seem a little out of place here on this blog!

View file

@ -1,4 +1,4 @@
{{ $mailto := delimit "mailto:" site.Author.email "?subject=Re:%20" ( .Title | htmlEscape ) "&amp;body=" (htmlEscape "Hello JP!\n\nI was reading your blog…") }}
{{ $mailto := delimit (slice "mailto:" site.Author.email "?subject=Re:%20" ( .Title | htmlEscape ) "&body=" (htmlEscape "Hi JP!\n\nI was reading your blog…")) "" }}
{{ partial "syndication-ref.html" (dict "type" "email" "link" $mailto) }}
{{ range .Params.syndications }}