0.0.1 • Published 5 years ago
@daugsbi/gatsby-theme-seo v0.0.1
SEO related dependencies bundled by a gatsby theme
Features
- robots-txt (https://www.gatsbyjs.org/packages/gatsby-plugin-robots-txt/)
- sitemap xml (https://www.gatsbyjs.org/packages/gatsby-plugin-sitemap/)
Quick Start
- Create your gatsby project
- Add this theme to your
gatsby-config.js
module.exports = {
plugins: ["@daugsbi/gatsby-theme-seo"]
};
That's it, you can now run your gatsby site using
yarn gatsby develop
Note that this site doesn't do anything, so you're see a missing
resources error. Create a simple page in src/pages/index.js
to see a
page on the root url.
import React from "react";
export default () => <div>My Site!</div>;
Doing more with themes
You can use this as a place to start when developing themes. I
generally suggest using yarn
workspaces like the
gatsby-theme-examples repo
does,
but using yarn link
or npm link
is a viable alternative if you're
not familiar with workspaces.
0.0.1
5 years ago