// This is where project configuration and plugin options are located. // Learn more: https://gridsome.org/docs/config // Changes here requires a server restart. // To restart press CTRL + C in terminal and run `gridsome develop` module.exports = { siteName: 'Gridsome Blog Starter', transformers: { remark: { externalLinksTarget: '_blank', externalLinksRel: ['nofollow', 'noopener', 'noreferrer'], anchorClassName: 'icon icon-link', plugins: [ '@gridsome/remark-prismjs' ] } }, plugins: [ { use: '@gridsome/source-filesystem', options: { path: 'content/posts/*.md', typeName: 'Post', route: '/:slug', refs: { // Creates tags from 'tags' in Markdown files tags: { typeName: 'Tag', route: '/tag/:id', create: true } } } } ] }