Skip to content

Commit b08c181

Browse files
Nicholas YoungKyleAMathews
authored andcommitted
Add sitemap plugin to www (#1541)
1 parent ab277b3 commit b08c181

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

www/gatsby-config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
module.exports = {
22
siteMetadata: {
33
title: `Gatsby`,
4+
siteUrl: `https://www.gatsbyjs.org`,
45
},
56
mapping: {
67
"MarkdownRemark.frontmatter.author": `AuthorYaml`,
@@ -94,5 +95,6 @@ module.exports = {
9495
trackingId: `UA-93349937-1`,
9596
},
9697
},
98+
`gatsby-plugin-sitemap`,
9799
],
98100
}

www/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"gatsby-plugin-offline": "^1.0.1",
1717
"gatsby-plugin-react-helmet": "^1.0.1",
1818
"gatsby-plugin-sharp": "^1.0.1",
19+
"gatsby-plugin-sitemap": "^1.2.0",
1920
"gatsby-plugin-twitter": "^1.0.5",
2021
"gatsby-remark-autolink-headers": "^1.0.1",
2122
"gatsby-remark-copy-linked-files": "^1.0.1",

0 commit comments

Comments
 (0)