fix: 🐛 Data import (#34)

* fix: 🐛 Data imports

* fix: 🐛 Bug in the preview of Link-free metadata

* chore:👷 Adds more scripts

* chore:  Update tests
This commit is contained in:
Daniel Soares
2020-12-14 04:33:31 -03:00
committed by GitHub
parent d38588c27c
commit 189f9c1c96
4 changed files with 24 additions and 22 deletions

View File

@@ -1,4 +1,9 @@
const metadata = require(`./content/metadata.json`)
const fs = require('fs')
const yaml = require('js-yaml')
const metadata = yaml.safeLoad(
fs.readFileSync('./content/metadata.yaml', 'utf8')
)
module.exports = {
plugins: [
{