Add buymeacoffee links
This commit is contained in:
parent
2ec1f1fa16
commit
a8dc7037d5
3 changed files with 14 additions and 1 deletions
|
@ -108,12 +108,19 @@ accounts:
|
||||||
link: https://hub.docker.com/u/theorangeone
|
link: https://hub.docker.com/u/theorangeone
|
||||||
icon: fab fa-docker
|
icon: fab fa-docker
|
||||||
|
|
||||||
|
buymeacoffee:
|
||||||
|
name: Buy Me A Coffee
|
||||||
|
username: TheOrangeOne
|
||||||
|
link: https://www.buymeacoffee.com/theorangeone
|
||||||
|
icon: fas fa-coffee
|
||||||
|
|
||||||
footer_accounts:
|
footer_accounts:
|
||||||
- github
|
- github
|
||||||
- twitter
|
- twitter
|
||||||
- self-hosted-gitlab
|
- self-hosted-gitlab
|
||||||
- reddit
|
- reddit
|
||||||
- hacker-news
|
- hacker-news
|
||||||
|
- buymeacoffee
|
||||||
|
|
||||||
navbar_accounts:
|
navbar_accounts:
|
||||||
- github
|
- github
|
||||||
|
|
|
@ -3,6 +3,12 @@
|
||||||
<div class="container">
|
<div class="container">
|
||||||
{{ partial "content.html" . }}
|
{{ 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">
|
<div class="row">
|
||||||
{{ range $i, $e := sort .Site.Data.social.accounts "name" }}
|
{{ range $i, $e := sort .Site.Data.social.accounts "name" }}
|
||||||
<div class="col-sm-3 mt-3">
|
<div class="col-sm-3 mt-3">
|
||||||
|
@ -23,6 +29,5 @@
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{{ partial "share.html" . }}
|
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
|
@ -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="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="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="{{ .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>
|
</h3>
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Reference in a new issue