1
Fork 0

Add buymeacoffee links

This commit is contained in:
Jake Howard 2020-09-23 15:14:14 +01:00
parent 2ec1f1fa16
commit a8dc7037d5
Signed by: jake
GPG key ID: 57AFB45680EDD477
3 changed files with 14 additions and 1 deletions

View file

@ -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

View file

@ -3,6 +3,12 @@
<div class="container">
{{ partial "content.html" . }}
<div class="text-center mt-4 mb-5">
<a href="{{ .Site.Data.social.accounts.buymeacoffee.link }}" target="_blank">
<img src="https://cdn.buymeacoffee.com/buttons/v2/arial-orange.png" alt="Buy Me A Coffee" style="height: 45px !important;width: 163px !important;">
</a>
</div>
<div class="row">
{{ range $i, $e := sort .Site.Data.social.accounts "name" }}
<div class="col-sm-3 mt-3">
@ -23,6 +29,5 @@
{{ end }}
</div>
</div>
{{ partial "share.html" . }}
</div>
{{ end }}

View file

@ -6,6 +6,7 @@
<a href="https://www.facebook.com/sharer/sharer.php?u={{ .Permalink }}"><i class="mx-1 fab fa-facebook" aria-hidden="true"></i></a>
<a href="http://www.reddit.com/submit?url={{ .Permalink }}"><i class="mx-1 fab fa-reddit" aria-hidden="true"></i></a>
<a href="{{ .Permalink }}" data-clipboard-text="{{ .Permalink }}" title="Copy link to clipboard"><i class="mx-1 fas fa-copy" aria-hidden="true"></i></a>
<a href="{{ .Site.Data.social.accounts.buymeacoffee.link }}"><i class="{{ .Site.Data.social.accounts.buymeacoffee.icon }}"></i></a>
</h3>
</div>
{{ end }}