Ko-Fi
Example
With this markup:
{{< kofi user="psuzume" donateText="Support me" backgroundColor="#6E0458" textColor="#fff" >}}
Golda renders the following HTML:
<script src="https://storage.ko-fi.com/cdn/scripts/overlay-widget.js"></script>
<script>
kofiWidgetOverlay.draw('psuzume', {
'type': 'floating-chat',
'floating-chat.donateButton.text': 'Support me',
'floating-chat.donateButton.background-color': '#6E0458',
'floating-chat.donateButton.text-color': '#fff'
});
</script>
Parameters
- user
- (
string) Your ko-fi username. - donateText
- (
string) The call to action on the button. - backgroundColor
- (
string) The color of the background. - textColor
- (
string) The color of the text on the button.