SEO updates
This commit is contained in:
@ -4,6 +4,7 @@ module.exports = {
|
|||||||
description: `A curated collection of useful Python snippets that you can understand in 30 seconds or less.`,
|
description: `A curated collection of useful Python snippets that you can understand in 30 seconds or less.`,
|
||||||
shortName: `30s`,
|
shortName: `30s`,
|
||||||
repositoryUrl: `https://github.com/30-seconds/30-seconds-of-python`,
|
repositoryUrl: `https://github.com/30-seconds/30-seconds-of-python`,
|
||||||
|
siteUrl: `https://python.30secondsofcode.org`,
|
||||||
// Path information
|
// Path information
|
||||||
snippetPath: `snippets`,
|
snippetPath: `snippets`,
|
||||||
snippetDataPath: `snippet_data`,
|
snippetDataPath: `snippet_data`,
|
||||||
|
|||||||
@ -5,8 +5,10 @@ module.exports = {
|
|||||||
title: `${config.name}`,
|
title: `${config.name}`,
|
||||||
description: `${config.description}`,
|
description: `${config.description}`,
|
||||||
author: `@30-seconds`,
|
author: `@30-seconds`,
|
||||||
|
siteUrl: `${config.siteUrl}`,
|
||||||
},
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
|
`gatsby-plugin-sitemap`,
|
||||||
`gatsby-plugin-transition-link`,
|
`gatsby-plugin-transition-link`,
|
||||||
{
|
{
|
||||||
resolve: `gatsby-source-filesystem`,
|
resolve: `gatsby-source-filesystem`,
|
||||||
|
|||||||
42
package-lock.json
generated
42
package-lock.json
generated
@ -9498,6 +9498,26 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"gatsby-plugin-sitemap": {
|
||||||
|
"version": "2.2.8",
|
||||||
|
"resolved": "https://registry.npmjs.org/gatsby-plugin-sitemap/-/gatsby-plugin-sitemap-2.2.8.tgz",
|
||||||
|
"integrity": "sha512-FDWspoz4cymHis6d+PrDWm4RudoVHcGT1sjoiL8/i/zKaFZCVyDmxK2JDAy6TdpK4nLr/wc+np4n+Y5lKgfDRw==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"@babel/runtime": "^7.0.0",
|
||||||
|
"minimatch": "^3.0.4",
|
||||||
|
"pify": "^3.0.0",
|
||||||
|
"sitemap": "^1.13.0"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"pify": {
|
||||||
|
"version": "3.0.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz",
|
||||||
|
"integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=",
|
||||||
|
"dev": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"gatsby-plugin-transition-link": {
|
"gatsby-plugin-transition-link": {
|
||||||
"version": "1.12.4",
|
"version": "1.12.4",
|
||||||
"resolved": "https://registry.npmjs.org/gatsby-plugin-transition-link/-/gatsby-plugin-transition-link-1.12.4.tgz",
|
"resolved": "https://registry.npmjs.org/gatsby-plugin-transition-link/-/gatsby-plugin-transition-link-1.12.4.tgz",
|
||||||
@ -18850,6 +18870,16 @@
|
|||||||
"integrity": "sha512-SbEG75TzH8G7eVXFSN5f9EExILKfly7SUvVY5DhhYLvfhKqhDFY0OzevWa/zwak0RLRfWS5AvfMWpd9gJvr5Yg==",
|
"integrity": "sha512-SbEG75TzH8G7eVXFSN5f9EExILKfly7SUvVY5DhhYLvfhKqhDFY0OzevWa/zwak0RLRfWS5AvfMWpd9gJvr5Yg==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
|
"sitemap": {
|
||||||
|
"version": "1.13.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/sitemap/-/sitemap-1.13.0.tgz",
|
||||||
|
"integrity": "sha1-Vpy+IYAgKSamKiZs094Jyc60P4M=",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"underscore": "^1.7.0",
|
||||||
|
"url-join": "^1.1.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
"slash": {
|
"slash": {
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/slash/-/slash-1.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/slash/-/slash-1.0.0.tgz",
|
||||||
@ -20537,6 +20567,12 @@
|
|||||||
"integrity": "sha1-5z3T17DXxe2G+6xrCufYxqadUPo=",
|
"integrity": "sha1-5z3T17DXxe2G+6xrCufYxqadUPo=",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
|
"underscore": {
|
||||||
|
"version": "1.9.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/underscore/-/underscore-1.9.1.tgz",
|
||||||
|
"integrity": "sha512-5/4etnCkd9c8gwgowi5/om/mYO5ajCaOgdzj/oW+0eQV9WxKBDZw5+ycmKmeaTXjInS/W0BzpGLo2xR2aBwZdg==",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
"underscore.string": {
|
"underscore.string": {
|
||||||
"version": "3.3.5",
|
"version": "3.3.5",
|
||||||
"resolved": "https://registry.npmjs.org/underscore.string/-/underscore.string-3.3.5.tgz",
|
"resolved": "https://registry.npmjs.org/underscore.string/-/underscore.string-3.3.5.tgz",
|
||||||
@ -20966,6 +21002,12 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"url-join": {
|
||||||
|
"version": "1.1.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/url-join/-/url-join-1.1.0.tgz",
|
||||||
|
"integrity": "sha1-dBxsL0WWxIMNZxhGCSDQySIC3Hg=",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
"url-loader": {
|
"url-loader": {
|
||||||
"version": "1.1.2",
|
"version": "1.1.2",
|
||||||
"resolved": "https://registry.npmjs.org/url-loader/-/url-loader-1.1.2.tgz",
|
"resolved": "https://registry.npmjs.org/url-loader/-/url-loader-1.1.2.tgz",
|
||||||
|
|||||||
@ -42,6 +42,7 @@
|
|||||||
"gatsby-plugin-react-helmet": "^3.1.2",
|
"gatsby-plugin-react-helmet": "^3.1.2",
|
||||||
"gatsby-plugin-sass": "^2.1.3",
|
"gatsby-plugin-sass": "^2.1.3",
|
||||||
"gatsby-plugin-sharp": "^2.2.7",
|
"gatsby-plugin-sharp": "^2.2.7",
|
||||||
|
"gatsby-plugin-sitemap": "^2.2.8",
|
||||||
"gatsby-plugin-transition-link": "^1.12.4",
|
"gatsby-plugin-transition-link": "^1.12.4",
|
||||||
"gatsby-remark-copy-linked-files": "^2.1.3",
|
"gatsby-remark-copy-linked-files": "^2.1.3",
|
||||||
"gatsby-remark-images": "^3.1.6",
|
"gatsby-remark-images": "^3.1.6",
|
||||||
|
|||||||
@ -51,7 +51,9 @@ const IndexPage = props => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<Meta />
|
<Meta
|
||||||
|
meta={[{ name: `google-site-verification`, content: `YX9mF-TxoHZGJ9SZ8XwvWgGR_KTcbH1uHul4iDklyr0` }]}
|
||||||
|
/>
|
||||||
<Shell withIcon={false} withTitle={false}>
|
<Shell withIcon={false} withTitle={false}>
|
||||||
<img
|
<img
|
||||||
src={props.data.file.childImageSharp.original.src}
|
src={props.data.file.childImageSharp.original.src}
|
||||||
|
|||||||
Reference in New Issue
Block a user