summaryrefslogtreecommitdiffstats
path: root/packages/gitbook-html/lib/langs.js
diff options
context:
space:
mode:
Diffstat (limited to 'packages/gitbook-html/lib/langs.js')
-rwxr-xr-xpackages/gitbook-html/lib/langs.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/gitbook-html/lib/langs.js b/packages/gitbook-html/lib/langs.js
index 1042dcb..270a9f6 100755
--- a/packages/gitbook-html/lib/langs.js
+++ b/packages/gitbook-html/lib/langs.js
@@ -1,9 +1,9 @@
var _ = require('lodash');
-var parseEntries = require('./summary').entries;
+var parseSummary = require('./summary');
// HTML -> Languages
function parseLangs(content) {
- return parseEntries(content);
+ return parseSummary(content).parts[0].articles;
}
// Languages -> HTML