diff --git a/exampleSite/content/contact.md b/exampleSite/content/contact.md index 3bb8589..b225658 100644 --- a/exampleSite/content/contact.md +++ b/exampleSite/content/contact.md @@ -3,5 +3,6 @@ title: "Get in touch" --- - **E-Mail:** mail [ett] example.com +- **Mailto:** [contact@example.com](mailto:contact@example.com) - **Matrix:** @john:example.com - **XMPP:** john@example.com diff --git a/layouts/_default/_markup/render-link.html b/layouts/_default/_markup/render-link.html index 6234c49..3dcf378 100644 --- a/layouts/_default/_markup/render-link.html +++ b/layouts/_default/_markup/render-link.html @@ -1,2 +1,7 @@ -{{ $raw := or (hasPrefix .Text "{{ .Text | safeHTML }} +{{- $raw := or (hasPrefix .Text "{{ .Text | safeHTML }}