
Product
Socket for Jira Is Now Available
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.
Migrate Jekyll (gh-pages) themes to use handlebars instead of liquid.
Install with npm:
$ npm install --save hekyll
To run hekyll, you will need to pass an instance of gulp or assemble. This allows you to override any of hekyll's built-in tasks with a custom task.
var hekyll = require('hekyll');
hekyll(gulp_or_assemble, {
task: 'hekyll',
theme: 'poole',
themes: 'vendor',
dest: 'src' //<= this will become your "handlebars" src templates
});
Options
task: the task name to use for running hekyll. Default is hekylltheme: the name of the liquid theme to migrate. Example: poolethemes: the parent directory of the liquid theme. Example: themes. This is joined to the theme name at build time.dest: the destination path for the converted theme.Download a theme:
$ git clone https://github.com/poole/poole.git themes/poole
Then build with gulp:
var gulp = require('gulp');
hekyll(gulp, {
task: 'hekyll',
theme: 'poole',
themes: 'themes',
dest: 'src' //<= this will become your "handlebars" src templates
});
gulp.task('default', ['hekyll']);
Download a theme:
$ git clone https://github.com/poole/poole.git themes/poole
Then build with gulp:
var assemble = require('assemble');
var app = module.exports = assemble();
hekyll(app, {
task: 'hekyll',
theme: 'poole',
themes: 'themes',
dest: 'src' //<= this will become your "handlebars" src templates
});
app.task('default', ['hekyll']);
~20 jekyll themes were tested during the creation of this library, including all of the poole/poole themes from @mdo, and all of the built-in gh-pages themes. Most themes convert flawlessly, but some have nuances that might require some manual editing.
Handlebars helpers
To be able to render the migrated templates with handlebars, you will first need to include any missing handlebars helpers that were converted from liquid filters and tags during the migration.
Here are some libraries that might be useful for this:
Bug reports
If you find a bug or something that doesn't convert correctly, please let me know, I want this to work as seamlessly as possible.
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
Please read the contributing guide for advice on opening issues, pull requests, and coding standards.
(This project's readme.md is generated by verb, please don't edit the readme directly. Any changes to the readme must be made in the .verb.md readme template.)
To generate the readme, run the following command:
$ npm install -g verbose/verb#dev verb-generate-readme && verb
Running and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:
$ npm install && npm test
Jon Schlinkert
Copyright © 2017, Jon Schlinkert. Released under the MIT License.
This file was generated by verb-generate-readme, v0.6.0, on June 22, 2017.
FAQs
Migrate Jekyll (gh-pages) themes to use handlebars instead of liquid.
We found that hekyll demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.