From fc2e9631dbd8ae5b5d8ff91eebea44d6a1316022 Mon Sep 17 00:00:00 2001 From: JP Hastings-Spital Date: Thu, 27 Jul 2023 23:22:27 +0100 Subject: [PATCH] Fix email links --- content/posts/reviews/books/terry-pratchett/sourcery.md | 2 +- layouts/partials/syndication.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/content/posts/reviews/books/terry-pratchett/sourcery.md b/content/posts/reviews/books/terry-pratchett/sourcery.md index 690ea734..9c1d44c1 100644 --- a/content/posts/reviews/books/terry-pratchett/sourcery.md +++ b/content/posts/reviews/books/terry-pratchett/sourcery.md @@ -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! diff --git a/layouts/partials/syndication.html b/layouts/partials/syndication.html index ad3db38b..685aac1c 100644 --- a/layouts/partials/syndication.html +++ b/layouts/partials/syndication.html @@ -1,4 +1,4 @@ -{{ $mailto := delimit "mailto:" site.Author.email "?subject=Re:%20" ( .Title | htmlEscape ) "&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 }}