Jekyll: Creating Your First Liquid Plugin

After switching from WordPress to Jekyll and Jekyll-Bootstrap we realized that we were lacking in the Plugin department. We immediately set about writing plugins for Jekyll to fill the void. Our first plugin generates a QR code using Google’s Charts API.

The Jekyll plugin system hooks allow you to create custom generated content specific to your site. You can run custom code for your site without having to modify the Jekyll source itself.

caveat The plugin we created prints out Twitter Bootstrap compatible HTML.

As you can see, the plugin generates a QR code for a Google Play item. All you need to do is supply the ID.

, , ,