Add buymeacoffee.com widget

This commit is contained in:
zicklam 2022-11-18 16:54:59 +01:00 committed by GitHub
parent 6704952afa
commit 3035f76bff
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 }}