akashacms-breadcrumbs
Advanced tools
Comparing version 0.1.12 to 0.1.13
10
index.js
@@ -30,3 +30,3 @@ /** | ||
if (!arg.documentPath) { callback(new Error("No 'documentPath' given ")); } | ||
var val = akasha.partialSync(config, "breadcrumbs.html.ejs", { | ||
var val = akasha.partialSync(config, "breadcrumb-trail.html.ejs", { | ||
breadcrumbs: breadcrumbTrail(akasha, config, arg.documentPath) | ||
@@ -37,10 +37,2 @@ }); | ||
} | ||
config.funcs.breadcrumbsBootstrapSync = function(arg, callback) { | ||
if (!arg.documentPath) { callback(new Error("No 'documentPath' given ")); } | ||
var val = akasha.partialSync(config, "breadcrumbs-bootstrap.html.ejs", { | ||
breadcrumbs: breadcrumbTrail(akasha, config, arg.documentPath) | ||
}); | ||
if (callback) callback(undefined, val); | ||
return val; | ||
} | ||
} | ||
@@ -47,0 +39,0 @@ |
@@ -14,3 +14,3 @@ { | ||
}, | ||
"version": "0.1.12", | ||
"version": "0.1.13", | ||
"engines": { | ||
@@ -17,0 +17,0 @@ "node": ">=0.10.1" |
4251
4
73