Add ko-fi partial

This commit is contained in:
Fundor333
2025-09-04 00:51:44 +02:00
parent 089509d8b2
commit 035129ba22
2 changed files with 10 additions and 9 deletions

View File

@@ -66,12 +66,4 @@ $(window).on('load', function() {
});
</script>
<script src='https://storage.ko-fi.com/cdn/scripts/overlay-widget.js'></script>
<script>
kofiWidgetOverlay.draw('fundor333', {
'type': 'floating-chat',
'floating-chat.donateButton.text': 'Support me',
'floating-chat.donateButton.background-color': '#f45d22',
'floating-chat.donateButton.text-color': '#fff'
});
</script>
{{ partial "ko-fi.html" . }}

View File

@@ -0,0 +1,9 @@
<script src='https://storage.ko-fi.com/cdn/scripts/overlay-widget.js'></script>
<script>
kofiWidgetOverlay.draw('fundor333', {
'type': 'floating-chat',
'floating-chat.donateButton.text': 'Support me',
'floating-chat.donateButton.background-color': '#5cb85c',
'floating-chat.donateButton.text-color': '#fff'
});
</script>