mirror of
https://github.com/dsoaress/link-free.git
synced 2026-08-16 22:46:04 +01:00
* fix: 🐛 Data imports * fix: 🐛 Bug in the preview of Link-free metadata * chore:👷 Adds more scripts * chore: ✅ Update tests
17 lines
294 B
JavaScript
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
|
|
}
|
|
}
|
|
]
|
|
}
|