Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/shenoybr/hugo-goa.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksa Perovic <aleksa.perovic1@gmail.com>2022-08-01 13:14:13 +0300
committerGitHub <noreply@github.com>2022-08-01 13:14:13 +0300
commit7699bf9b11c3343709d35abd5acf51400725953c (patch)
tree9a1932feaa4e555db8386643f77357007a33565f
parent22581c258f9961fcb88c3eb5ff703b13a6d46b58 (diff)
add buymeacoffee to social.html (#107)
Co-authored-by: Raj Shenoy <673924+kaapiandcode@users.noreply.github.com>
-rw-r--r--exampleSite/config.toml1
-rw-r--r--layouts/partials/social.html3
2 files changed, 4 insertions, 0 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index c72bea8..46560a6 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -66,6 +66,7 @@ strava = "<username>"
skype = "<username>"
telegram = "<username>"
whatsapp = "<username>"
+buymeacoffee = "<username>"
kaggle = "<username>"
email = "you@example.com"
pgp = "<key_fingerprint>"
diff --git a/layouts/partials/social.html b/layouts/partials/social.html
index 284ccc2..702353f 100644
--- a/layouts/partials/social.html
+++ b/layouts/partials/social.html
@@ -104,6 +104,8 @@
{{ with .Site.Params.social.whatsapp}}
<a href="https://wa.me/{{.}}" aria-label="Whatsapp" target="_blank"><i class="fab fa-whatsapp" aria-hidden="true"></i></a>
{{ end }}
+ {{ with .Site.Params.social.buymeacoffee}}
+ <a href="https://www.buymeacoffee.com//{{.}}" aria-label="Buymeacoffee" target="_blank"><i class="fas fa-coffee" aria-hidden="true"></i></a>
{{ with .Site.Params.social.kaggle}}
<a href="https://kaggle.com/{{.}}" aria-label="Kaggle" target="_blank"><i class="fab fa-kaggle" aria-hidden="true"></i></a>
{{ end }}
@@ -157,6 +159,7 @@
{{ with .Site.Params.social.soundcloud}}"https://soundcloud.com/{{.}}",{{ end }}
{{ with .Site.Params.social.tumblr}}"https://{{.}}.tumblr.com",{{ end }}
{{ with .Site.Params.social.strava}}"https://www.strava.com/athletes/{{.}}",{{ end }}
+ {{ with .Site.Params.social.buymeacoffee}}"https://www.buymeacoffee.com//{{.}}",{{ end }}
{{ with .Site.Params.social.kaggle}}"https://www.kaggle.com/{{.}}",{{ end }}
"{{ .Site.Params.baseURL }}"
]