title: How to define Gatsby markdown page paths in one file?
body: <p>Bu default, <a href="http://gatsbyjs.org" rel="nofollow noreferrer">Gatsby</a> uses <a href="https://www.gatsbyjs.org/docs/adding-markdown-pages/#create-static-pages-using-gatsbys-node-api" rel="nofollow noreferrer">frontmatter</a> for defining paths, like:</p>
  
  <pre><code>---
  path: /example-page
  ---
  </code></pre>
  
  <p>and then works with it via GraphQL.</p>
  
  <p>What is the best way to define those paths for all markdown files by not writing frontmatter part in every file, but in one file, as an instance, like this:</p>
  
  <pre><code>[
      {
          "title": "Example",
          "path": "/example-page.md"
      }
  ]
  </code></pre>