Show release on homepage

This commit is contained in:
Tom Raithel
2017-02-19 22:03:42 +01:00
parent b5900ce3cc
commit 856befc423
6 changed files with 15 additions and 9 deletions

View File

@@ -1,4 +1,5 @@
import pug from 'pug';
import moment from 'moment';
import { relativePath } from './file';
import {
groupByQuadrants,
@@ -19,6 +20,7 @@ export const vars = (vars) => ({
return mappings[text.trim()] || '-';
},
formatRelease: (release) => moment(release, 'YYYY-MM-DD').format('MMM YYYY'),
groupByQuadrants,
groupByFirstLetter,
groupByRing,