
Security News
npm Introduces minimumReleaseAge and Bulk OIDC Configuration
npm rolls out a package release cooldown and scalable trusted publishing updates as ecosystem adoption of install safeguards grows.
Migrate Jekyll (gh-pages) themes to use handlebars instead of liquid.
Install with npm:
$ npm install --save hekyll
The main function expects an options object with src and dest properties, and returns a promise.
var hekyll = require('hekyll');
hekyll(options);
Options
src: the directory with source files for a Jekyll theme.dest: the destination path for the converted theme.Example
hekyll({src: 'themes/poole', dest: 'src'})
.then(function() {
console.log('finished!');
})
.catch(console.error);
~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.
Breaking changes
Refactored to simplify. See Usage section for new API.
First release.
You might also be interested in these projects:
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 August 12, 2017.
FAQs
Migrate Jekyll (gh-pages) themes to use handlebars instead of liquid.
The npm package hekyll receives a total of 0 weekly downloads. As such, hekyll popularity was classified as not popular.
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.

Security News
npm rolls out a package release cooldown and scalable trusted publishing updates as ecosystem adoption of install safeguards grows.

Security News
AI agents are writing more code than ever, and that's creating new supply chain risks. Feross joins the Risky Business Podcast to break down what that means for open source security.

Research
/Security News
Socket uncovered four malicious NuGet packages targeting ASP.NET apps, using a typosquatted dropper and localhost proxy to steal Identity data and backdoor apps.