Scripts: Repurpose make-data.js

This commit is contained in:
Andy Freer 2020-02-09 20:20:49 +00:00
parent a0fa04bd47
commit 930dff7a5d
2 changed files with 40 additions and 1 deletions

View file

@ -6,7 +6,7 @@ function getData () {
const data = require('./data')
data.push({
title: 'Awesome IPFS',
title: 'Awesome Dash Platform',
slug: '_index',
content: data
.reduce((arr, cat) => arr.concat(cat.content), [])