Community Plugin
View plugin on GitHubgatsby-plugin-cname
Gatsby plugin that automatically creates CNAME file for your site
Table of Contents
Usage
Add to your gatsby-config.js
file:
module.exports = {
siteMetadata: {
siteUrl: 'http://foobar.co.za/'
},
plugins: [
'gatsby-plugin-cname'
],
}
Install
This project uses node and npm.
$ npm install gatsby-plugin-cname
$ # OR
$ yarn add gatsby-plugin-cname
Contribute
- Fork it and create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am "Add some feature"
- Push to the branch:
git push origin my-new-feature
- Submit a pull request
Credits
Based on gatsby-plugin-robots-txt.
License
MIT © Tiaan du Plessis