UNPKG

blingy

Version:

build blogs with MD and JavaScript!

38 lines (33 loc) 2.38 kB
var Handlebars = require('handlebars'); module.exports= (function() { var template = Handlebars.template, templates = Handlebars.templates = Handlebars.templates || {}; templates['head'] = template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) { var helper; return "<meta charset=\"UTF-8\">\n<title>" + container.escapeExpression(((helper = (helper = helpers.title || (depth0 != null ? depth0.title : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : {},{"name":"title","hash":{},"data":data}) : helper))) + "</title>\n<script src=\"bundle.js\" charset=\"utf-8\"></script>\n"; },"useData":true}); templates['index'] = template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) { var helper, alias1=depth0 != null ? depth0 : {}, alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression; return "<div class=\"entry\">\n <h1>" + alias4(((helper = (helper = helpers.title || (depth0 != null ? depth0.title : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"title","hash":{},"data":data}) : helper))) + "</h1>\n <div class=\"body\">\n " + alias4(((helper = (helper = helpers.body || (depth0 != null ? depth0.body : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"body","hash":{},"data":data}) : helper))) + "\n </div>\n</div>\n"; },"useData":true}); templates['posts'] = template({"1":function(container,depth0,helpers,partials,data) { var stack1; return " <hr>\n " + ((stack1 = container.lambda(depth0, depth0)) != null ? stack1 : "") + "\n <hr>\n"; },"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) { var stack1; return "<div class=\"posts\">\n" + ((stack1 = helpers.each.call(depth0 != null ? depth0 : {},(depth0 != null ? depth0.posts : depth0),{"name":"each","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "") + "</div>\n"; },"useData":true}); templates['sidebar'] = template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) { return "<aside class=\"sidebar\">\n sidebar stuff\n</aside>\n"; },"useData":true}); })();