mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-11-07 03:29:20 +00:00
✨ Add Ko-fi integration
This commit is contained in:
20 files changed
+94
-22
No files matched your search
@@ -74,4 +74,15 @@
|
||||
data-x_margin="18"
|
||||
data-y_margin="18"></script>
|
||||
{{ end }}
|
||||
{{ if site.Params.kofi.globalWidget | default false }}
|
||||
<script src="https://storage.ko-fi.com/cdn/scripts/overlay-widget.js"></script>
|
||||
<script>
|
||||
kofiWidgetOverlay.draw('{{ site.Params.kofi.identifier }}', {
|
||||
'type': 'floating-chat',
|
||||
'floating-chat.donateButton.text': '{{ site.Params.kofi.globalWidgetText | default "" }}',
|
||||
'floating-chat.donateButton.background-color': '{{ site.Params.kofi.globalWidgetBackgroundColor | default "#00B9FE" }}',
|
||||
'floating-chat.donateButton.text-color': '{{ site.Params.kofi.globalWidgetTextColor | default "#FFFFFF" }}',
|
||||
});
|
||||
</script>
|
||||
{{ end }}
|
||||
</html>
|
||||
Reference in new issue
Block a user