From a8dc7037d5d1051acfd3c20fe8f82bccdd4fe4e2 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Wed, 23 Sep 2020 15:14:14 +0100 Subject: [PATCH] Add buymeacoffee links --- data/social.yml | 7 +++++++ layouts/_default/about.html | 7 ++++++- layouts/partials/share.html | 1 + 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/data/social.yml b/data/social.yml index bd5fdcf..f09b270 100644 --- a/data/social.yml +++ b/data/social.yml @@ -108,12 +108,19 @@ accounts: link: https://hub.docker.com/u/theorangeone icon: fab fa-docker + buymeacoffee: + name: Buy Me A Coffee + username: TheOrangeOne + link: https://www.buymeacoffee.com/theorangeone + icon: fas fa-coffee + footer_accounts: - github - twitter - self-hosted-gitlab - reddit - hacker-news + - buymeacoffee navbar_accounts: - github diff --git a/layouts/_default/about.html b/layouts/_default/about.html index 3dd6363..4d134ac 100644 --- a/layouts/_default/about.html +++ b/layouts/_default/about.html @@ -3,6 +3,12 @@
{{ partial "content.html" . }} +
+ + Buy Me A Coffee + +
+
{{ range $i, $e := sort .Site.Data.social.accounts "name" }}
@@ -23,6 +29,5 @@ {{ end }}
- {{ partial "share.html" . }}
{{ end }} diff --git a/layouts/partials/share.html b/layouts/partials/share.html index 1ddcbde..bdfff31 100644 --- a/layouts/partials/share.html +++ b/layouts/partials/share.html @@ -6,6 +6,7 @@ + {{ end }}