From 85a2df882fa465462d737459a3044e389f70cf16 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sat, 13 Feb 2021 16:07:27 +0000 Subject: [PATCH] Add bigger BMAC link to contact page --- content/contact.md | 4 +++- layouts/_default/contact.html | 2 +- layouts/shortcodes/socialurl.html | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 layouts/shortcodes/socialurl.html diff --git a/content/contact.md b/content/contact.md index 101bf06..d5704cd 100644 --- a/content/contact.md +++ b/content/contact.md @@ -6,7 +6,7 @@ aliases: - /about/ --- -Given I spend my life attached to some form of computer, I'm not a hard person to get ahold of. +Given I spend my life attached to some form of computer, I'm not a hard person to get hold of. If you stumbled across an email address of mine, best not to use it. Like most people my age, I'm not an active user of email. Here are the channels I recommend (in order): @@ -14,4 +14,6 @@ If you stumbled across an email address of mine, best not to use it. Like most p - Discord: {{< sociallink discord >}} - Matrix: {{< sociallink matrix >}} +Want to say thanks? [Buy me a coffee]({{< socialurl buymeacoffee >}}). + ### Profiles diff --git a/layouts/_default/contact.html b/layouts/_default/contact.html index 035e819..904a767 100644 --- a/layouts/_default/contact.html +++ b/layouts/_default/contact.html @@ -6,7 +6,7 @@
{{ range $i, $e := sort .Site.Data.social.accounts "name" }}
-
+

diff --git a/layouts/shortcodes/socialurl.html b/layouts/shortcodes/socialurl.html new file mode 100644 index 0000000..607d486 --- /dev/null +++ b/layouts/shortcodes/socialurl.html @@ -0,0 +1 @@ +{{ (index .Site.Data.social.accounts (.Get 0)).link }}