Created
May 2, 2020 16:24
-
-
Save jamesvidler/5392852eedd763de94a81523cc6bcf06 to your computer and use it in GitHub Desktop.
An abbreviated snippet showing the gatsby-config for an Agility masterpage
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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