Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jamesvidler/5392852eedd763de94a81523cc6bcf06 to your computer and use it in GitHub Desktop.
Save jamesvidler/5392852eedd763de94a81523cc6bcf06 to your computer and use it in GitHub Desktop.
An abbreviated snippet showing the gatsby-config for an Agility masterpage
module.exports = {
siteMetadata: {
title: "Agility CMS Gatsby Starter",
},
plugins: [
...
{
//the name of the plugin
resolve: "@agility/gatsby-source-agilitycms",
//the options for our plugin
options: {
...
//the page template that will be used to render Agility CMS pages
masterPageTemplate: "./src/AgilityPage.js"
},
},
...
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment