Skip to content

Commit 9e53cd7

Browse files
committed
add helper to get children
1 parent a22237e commit 9e53cd7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

templates/helpers.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,9 @@ module.exports = function(docMap, options, getCurrent, helpers, OtherHandlebars)
205205
getParents: function(){
206206
return docMapInfo.getParents(docMapInfo.getCurrent());
207207
},
208+
getChildren: function(docObject) {
209+
return docMapInfo.getChildren(docObject);
210+
},
208211
getCurrent: function(){
209212
return docMapInfo.getCurrent();
210213
},

0 commit comments

Comments
 (0)