Jekyll plugin for quick “donate” buttons

[Tweet : nvALT]

I’m still working on the Jekyll version of this site. It’s coming along1. Along the way I wanted a better-looking donation button, so I wrote a quick plugin to handle a donate Liquid tag:

Brett's new donate button

Nifty CSS animation and everything. The text that shows up in the popup can be customized in your config, and you can pass custom strings when using the tag in a post. It currently creates markup for a PayPal link and required hidden fields, but it could be easily modified to work with another system.

I’m not going to write a lot about this because it pertains only to Jekyll/Octopress users, and will only be of interest to a few of them. All of the details are in the repo. Of course, the HTML and CSS2 are in the repo, too, if you just want to see that.

See the whole shebang on GitHub.

  1. 50%. I keep hating the design and then CSS distracts me from finishing all the plugins I want to write.

  2. Inspiration and starting point for the popover came from Codrops.