add kofi button

This commit is contained in:
neil 2023-04-11 16:58:47 +00:00
parent f566cca89c
commit 9aeb8712e1

View File

@ -10,3 +10,13 @@
{{- range .Site.Params.custom_js -}}
<script src="{{ $.Site.BaseURL }}{{ . }}"></script>
{{ end }}
<script src='https://storage.ko-fi.com/cdn/scripts/overlay-widget.js'></script>
<script>
kofiWidgetOverlay.draw('kneel', {
'type': 'floating-chat',
'floating-chat.donateButton.text': 'Support me',
'floating-chat.donateButton.background-color': '#fcbf47',
'floating-chat.donateButton.text-color': '#323842'
});
</script>