Files
link-free/gatsby-config.js
Daniel Soares 189f9c1c96 fix: 🐛 Data import (#34)
* fix: 🐛 Data imports

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

* chore:👷 Adds more scripts

* chore:  Update tests
2020-12-14 04:33:31 -03:00

17 lines
294 B
JavaScript

const fs = require('fs')
const yaml = require('js-yaml')
const metadata = yaml.safeLoad(
fs.readFileSync('./content/metadata.yaml', 'utf8')
)
module.exports = {
plugins: [
{
resolve: `@marscollective/gatsby-theme-link-free`,
options: {
metadata
}
}
]
}