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

@@ -29,7 +29,7 @@ const renderStaticPages = (radar, fileNames) => (
Promise.all(fileNames.map((name) => (
new Promise((resolve, reject) => (
outputFile(distPath(`${name}.html`), pug.renderFile(staticPath(`${name}.pug`), vars({
radar,
...radar,
})), (err, data) => {
if (err) {
reject(err);