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 authored and GitHub committed 2020-12-14 04:33:31 -03:00
1 parent d38588c27c
commit 189f9c1c96
4 files changed
+24 -22

No files matched your search

+6 -1
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: [
{