2 files changed, 2 insertions(+), 9 deletions(-)
M content/_index.md
D layouts/shortcodes/maillink.html
M content/_index.md => content/_index.md +2 -1
@@ 28,4 28,5 @@ Recently on my blog:
* {{< melink link="https://toobnix.org/accounts/mcornick" title="peertube" >}}
* {{< melink link="twtxt.txt" title="twtxt" >}}
-{{< maillink >}}
+You can mail me at <mcornick@mcornick.com>.
+You can use [this PGP key](pgpkey.asc) if you want to encrypt it.
D layouts/shortcodes/maillink.html => layouts/shortcodes/maillink.html +0 -8
@@ 1,8 0,0 @@
-<p>You can mail me at
-{{ if eq .Site.BaseURL "https://markcornick.com/" }}
-<a href="mailto:mark@markcornick.com">mark@markcornick.com</a>.
-{{- else -}}
-<a href="mailto:mcornick@mcornick.com">mcornick@mcornick.com</a>.
-{{ end }}
-You can use
-<a href="pgpkey.asc">this PGP key</a> if you want to encrypt it.</p>