{"size": 833, "ext": "js", "max_stars_repo_path": "gridsome.config.js", "max_stars_repo_name": "MarianaPicolo/guia-otimizacao", "max_stars_repo_stars_event_min_datetime": "2021-05-13T22:51:01.000Z", "max_stars_repo_stars_event_max_datetime": "2021-11-03T00:09:51.000Z", "max_issues_repo_path": "gridsome.config.js", "max_issues_repo_name": "MarianaPicolo/guia-otimizacao", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "gridsome.config.js", "max_forks_repo_name": "MarianaPicolo/guia-otimizacao", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 5, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 23.8, "max_line_length": 70, "alphanum_fraction": 0.5474189676}
// This is where project configuration and plugin options are located.
// Learn more: https://gridsome.org/docs/config

// Changes here require a server restart.
// To restart press CTRL + C in terminal and run `gridsome develop`

module.exports = {
  siteName: 'Guia de otimização no front-end',
  plugins: [
    {
      use: '@gridsome/source-filesystem',
      options: {
        typeName: 'Post',
        path: './artigos/conteudos/**/*.md',
      }
    },
    {
      use: 'gridsome-plugin-flexsearch',
      options: {
        searchFields: ['title', 'content'],
        collections: [
          {
            typeName: 'Post',
            indexName: 'Post',
            fields: ['title', 'id', 'description', 'topic', 'content']
          }
        ]
      }
    }
  ],
  templates: {
    Post: '/artigos/:topic/:title'
  }
}
