Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tiaanduplessis/gatsby-plugin-cname
Gatsby plugin that automatically creates CNAME file for your site
https://github.com/tiaanduplessis/gatsby-plugin-cname
cname gatsby gatsby-plugin gatsbyjs
Last synced: 18 days ago
JSON representation
Gatsby plugin that automatically creates CNAME file for your site
- Host: GitHub
- URL: https://github.com/tiaanduplessis/gatsby-plugin-cname
- Owner: tiaanduplessis
- License: mit
- Created: 2019-09-29T14:56:03.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-09-29T14:56:46.000Z (over 5 years ago)
- Last Synced: 2025-01-22T03:29:47.025Z (28 days ago)
- Topics: cname, gatsby, gatsby-plugin, gatsbyjs
- Language: JavaScript
- Size: 2.93 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gatsby-plugin-cname
[](https://npmjs.org/package/gatsby-plugin-cname)
[](https://npmjs.org/package/gatsby-plugin-cname)
[](https://github.com/RichardLitt/standard-readme)
[](https://npmjs.org/package/gatsby-plugin-cname)
[](http://makeapullrequest.com)> Gatsby plugin that automatically creates CNAME file for your site
## Table of Contents
- [Usage](#usage)
- [Install](#install)
- [Contribute](#contribute)
- [Credits](#credits)
- [License](#License)## Usage
Add to your `gatsby-config.js` file:
```js
module.exports = {
siteMetadata: {
siteUrl: 'http://foobar.co.za/'
},
plugins: [
'gatsby-plugin-cname'
],
}
```## Install
This project uses [node](https://nodejs.org) and [npm](https://www.npmjs.com).
```sh
$ npm install gatsby-plugin-cname
$ # OR
$ yarn add gatsby-plugin-cname
```## Contribute
1. Fork it and create your feature branch: `git checkout -b my-new-feature`
2. Commit your changes: `git commit -am "Add some feature"`
3. Push to the branch: `git push origin my-new-feature`
4. Submit a pull request## Credits
Based on [gatsby-plugin-robots-txt](https://github.com/mdreizin/gatsby-plugin-robots-txt).
## License
MIT © Tiaan du Plessis