chore: nits

This commit is contained in:
endiliey 2018-09-16 01:40:56 +08:00
parent 85f0fd69c0
commit 15a810fee5
3 changed files with 12 additions and 18 deletions

View file

@ -102,9 +102,7 @@ async function loadDocs({siteDir, docsDir, env, siteConfig}) {
})
);
/*
Get the titles of the previous and next ids so that we can use them
*/
/* Get the titles of the previous and next ids so that we can use them */
Object.keys(docsMetadatas).forEach(currentID => {
const previousID = idx(docsMetadatas, [currentID, 'previous']);
if (previousID) {