Skip to content

Commit

Permalink
chore: Add canonical tags to pages COVID19Tracking#1671
Browse files Browse the repository at this point in the history
  • Loading branch information
kevee committed Jan 4, 2021
1 parent eb82954 commit 4c65d8c
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
6 changes: 6 additions & 0 deletions gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@ const gatsbyConfig = {
'gatsby-transformer-sharp',
'gatsby-plugin-svgr',
'gatsby-transformer-yaml',
{
resolve: 'gatsby-plugin-canonical-urls',
options: {
siteUrl: 'https://covidtracking.com',
},
},
{
resolve: 'gatsby-plugin-webfonts',
options: {
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
"gatsby": "2.25.3",
"gatsby-image": "^2.2.44",
"gatsby-plugin-algolia": "^0.12.1",
"gatsby-plugin-canonical-urls": "^2.7.0",
"gatsby-plugin-eslint": "^2.0.8",
"gatsby-plugin-feed": "^2.5.13",
"gatsby-plugin-global-context": "^1.0.0",
Expand Down
7 changes: 7 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9849,6 +9849,13 @@ gatsby-plugin-alias-imports@^1.0.5:
dependencies:
"@babel/runtime" "^7.2.0"

gatsby-plugin-canonical-urls@^2.7.0:
version "2.7.0"
resolved "https://registry.yarnpkg.com/gatsby-plugin-canonical-urls/-/gatsby-plugin-canonical-urls-2.7.0.tgz#50a41c3bea81e6f820b956b51829e0781f7bab4f"
integrity sha512-773lolhMhEhda0ld0mKq4fTwjRS+vKC/L8GD0kT21y7arV9amvQk0iCsjn+RtVZJco0xnP9LWqrkxvDOIie0oQ==
dependencies:
"@babel/runtime" "^7.12.5"

gatsby-plugin-eslint@^2.0.8:
version "2.0.8"
resolved "https://registry.yarnpkg.com/gatsby-plugin-eslint/-/gatsby-plugin-eslint-2.0.8.tgz#1ff7f546a427d274dc2de3932ba29822aae330c3"
Expand Down

0 comments on commit 4c65d8c

Please sign in to comment.