WIP: Start with letter index

This commit is contained in:
Tom Raithel
2017-02-12 14:03:17 +01:00
parent 5163e0aafb
commit 7ac1e97a7d
6 changed files with 46 additions and 23 deletions

View File

@@ -1,5 +1,6 @@
import pug from 'pug';
import { relativePath } from './file';
import { groupByQuadrants, groupByFirstLetter } from './radar';
const templateFolder = 'templates';
@@ -14,6 +15,8 @@ export const vars = (vars) => ({
return mappings[text.trim()] || '-';
},
groupByQuadrants,
groupByFirstLetter,
...vars,
})