const Liquid = require('liquidjs') const engine = new Liquid({ root: __dirname, extname: '.liquid' }) engine.registerTag('header', { parse: function (token) { const [key, val] = token.args.split(':') this[key] = val }, render: function (scope, hash) { const title = this.liquid.evalValue(this.content, scope) return `