Add buymeacoffee.com widget (#707)

Co-authored-by: Emruz Hossain <hossainemruz@gmail.com>
This commit is contained in:
zicklam 2022-12-26 18:23:55 +01:00 committed by GitHub
parent 75845423c9
commit 65de557d60
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,5 +12,9 @@
});
</script>
{{ end }}
<!-- Enable Buy Me a Coffee (buymeacoffee.com) floating button -->
{{ with .buymeacoffee }}
<script data-name="BMC-Widget" data-cfasync="false" src="https://cdnjs.buymeacoffee.com/1.0.0/widget.prod.min.js" data-id="{{ .user }}" data-description="{{ .text }}" data-message="{{ .info }}" data-color="{{ .color }}" data-position="Right" data-x_margin="10" data-y_margin="18"></script>
{{ end }}
{{ end }}
{{ end }}