Lakshan Perera

Punch based Boilerplate to Power Your Blog

When I first created Punch, I didn't intend it to be used as a blogging tool. This blog was running on Jekyll during that time and I was content with the setup. However, as I was switching back and forth between Punch based projects and this Jekyll based blog, it became apparent how Jekyll's workflow misses the simplicity and intuitiveness I have in Punch. So I wanted a Punch based extension for blogging.

I wrote a special blog specific content handler which can be added to any Punch based site. It also preserves lot of Jekyll's conventions such as the post structure and permalinks. This makes transition of a blog from Jekyll to Punch really smooth.

Last week, I switched this blog from Jekyll to a Punch based setup. I'm happy how it turned out. Workflow of creating, previewing and publishing a post is now much faster and intuitive. You can check the source code of the project to get an idea how it is structured.

Since lot of you were asking about the possibility of using Punch to power a blog, I thought it would be useful to share my workflow with you. So I decided to release a boilerplate based on my setup, which you can use to create your own blog.

Intro Sscreen
Screenshot of Punch Blog Boilerplate

Here are some of the cool features available in this boilerplate:

Also, you can use any other features available in Punch.

You can download the boilerplate from GitHub. After downloading it, follow the setup instructions specified in the README. It's very easy to customize and extend.

Feel free, to open a ticket in GitHub issues if you run into any bugs.