Skip to content

Commit

Permalink
Fix SEO titles and keywords
Browse files Browse the repository at this point in the history
  • Loading branch information
kamranahmedse committed Jan 29, 2020
1 parent 8eccfd2 commit 4fb2e1f
Show file tree
Hide file tree
Showing 15 changed files with 292 additions and 61 deletions.
2 changes: 1 addition & 1 deletion components/helmet/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const Helmet = (props) => (
<meta name='description' content={ prepareDescription(props.description) } />

<meta name="author" content={ siteConfig.author } />
<meta name="keywords" content={ siteConfig.keywords.join(',') } />
<meta name="keywords" content={ props.keywords ? props.keywords.join(',') : siteConfig.keywords.join(',') } />

<meta name="viewport" content="width=device-width, user-scalable=yes, initial-scale=1.0, maximum-scale=3.0, minimum-scale=1.0" />
{ props.canonical && <link rel="canonical" href={ props.canonical } /> }
Expand Down
120 changes: 120 additions & 0 deletions content/roadmaps.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,32 @@
[
{
"seo": {
"title": "Frontend Roadmap: Learn to become a modern frontend developer",
"description": "Community driven, articles, resources, guides, interview questions, quizzes for modern frontend development. Learn to become a modern frontend developer by following the steps, skills, resources and guides listed in this roadmap.",
"keywords": [
"guide to becoming a developer",
"guide to becoming a frontend developer",
"frontend developer",
"frontend engineer",
"frontend skills",
"frontend development",
"javascript developer",
"frontend development skills",
"frontend development skills test",
"frontend engineer roadmap",
"frontend developer roadmap",
"become a frontend developer",
"frontend developer career path",
"javascript developer",
"modern javascript developer",
"node developer",
"skills for frontend development",
"learn frontend development",
"what is frontend development",
"frontend developer quiz",
"frontend developer interview questions"
]
},
"title": "Frontend Developer",
"description": "Step by step guide to becoming a modern frontend developer",
"featuredDescription": "Step by step guide to becoming a modern frontend developer in 2020",
Expand Down Expand Up @@ -86,6 +113,33 @@
}
},
{
"seo": {
"title": "Backend Roadmap: Learn to become a modern backend developer",
"description": "Community driven, articles, resources, guides, interview questions, quizzes for modern backend development. Learn to become a modern backend developer by following the steps, skills, resources and guides listed in this roadmap.",
"keywords": [
"guide to becoming a developer",
"guide to becoming a backend developer",
"backend developer",
"backend engineer",
"backend skills",
"backend development",
"javascript developer",
"backend development skills",
"backend development skills test",
"backend engineer roadmap",
"backend developer roadmap",
"become a backend developer",
"backend developer career path",
"javascript developer",
"modern javascript developer",
"node developer",
"skills for backend development",
"learn backend development",
"what is backend development",
"backend developer quiz",
"backend developer interview questions"
]
},
"title": "Backend Developer",
"description": "Step by step guide to becoming a modern backend developer",
"featuredDescription": "Step by step guide to becoming a modern backend developer in 2020",
Expand Down Expand Up @@ -131,6 +185,27 @@
}
},
{
"seo": {
"title": "DevOps Roadmap: Learn to become an SRE or for any other operations role",
"description": "Community driven, articles, resources, guides, interview questions, quizzes for DevOps. Learn to become a modern DevOps engineer by following the steps, skills, resources and guides listed in this roadmap.",
"keywords": [
"guide to becoming a devops enginer",
"devops roadmap",
"sre roadmap",
"site reliability engineer roadmap",
"operations roles",
"become devops",
"devops skills",
"modern devops skills",
"devops skills test",
"skills for devops",
"learn devops",
"what is devops",
"what is sre",
"devops quiz",
"devops interview questions"
]
},
"title": "DevOps Roadmap",
"description": "Step by step guide for DevOps or any other Operations Role",
"featuredDescription": "Step by step guide to become an SRE or for any operations role in 2020",
Expand Down Expand Up @@ -176,6 +251,33 @@
}
},
{
"seo": {
"title": "Fullstack Roadmap: Learn to become a modern fullstack developer",
"description": "Community driven, articles, resources, guides, interview questions, quizzes for modern fullstack development. Learn to become a modern fullstack developer by following the steps, skills, resources and guides listed in this roadmap.",
"keywords": [
"guide to becoming a developer",
"guide to becoming a fullstack developer",
"fullstack developer",
"fullstack engineer",
"fullstack skills",
"fullstack development",
"javascript developer",
"fullstack development skills",
"fullstack development skills test",
"fullstack engineer roadmap",
"fullstack developer roadmap",
"become a fullstack developer",
"fullstack developer career path",
"javascript developer",
"modern javascript developer",
"node developer",
"skills for fullstack development",
"learn fullstack development",
"what is fullstack development",
"fullstack developer quiz",
"fullstack developer interview questions"
]
},
"title": "Full Stack Developer",
"description": "Step by step guide to becoming a modern fullstack developer in 2020",
"featuredDescription": "Step by step guide to becoming a modern fullstack developer in 2020",
Expand All @@ -199,6 +301,24 @@
}
},
{
"seo": {
"title": "QA Engineer Roadmap: Learn to become a modern QA engineer",
"description": "Community driven, articles, resources, guides, interview questions, quizzes for modern QA development. Learn to become a modern QA engineer by following the steps, skills, resources and guides listed in this roadmap.",
"keywords": [
"guide to becoming a QA engineer",
"QA engineer",
"QA skills",
"QA development skills",
"QA development skills test",
"QA engineer roadmap",
"become a QA engineer",
"QA engineer career path",
"skills for QA development",
"what is QA engineer",
"QA engineer quiz",
"QA engineer interview questions"
]
},
"title": "QA Engineer",
"description": "Steps to follow in order to become a modern QA Engineer in 2020",
"featuredDescription": "Step by step guide to becoming a modern QA Engineer in 2020",
Expand Down
27 changes: 27 additions & 0 deletions content/roadmaps/1-frontend/meta.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,31 @@
{
"seo": {
"title": "Frontend Roadmap: Learn to become a modern frontend developer",
"description": "Community driven, articles, resources, guides, interview questions, quizzes for modern frontend development. Learn to become a modern frontend developer by following the steps, skills, resources and guides listed in this roadmap.",
"keywords": [
"guide to becoming a developer",
"guide to becoming a frontend developer",
"frontend developer",
"frontend engineer",
"frontend skills",
"frontend development",
"javascript developer",
"frontend development skills",
"frontend development skills test",
"frontend engineer roadmap",
"frontend developer roadmap",
"become a frontend developer",
"frontend developer career path",
"javascript developer",
"modern javascript developer",
"node developer",
"skills for frontend development",
"learn frontend development",
"what is frontend development",
"frontend developer quiz",
"frontend developer interview questions"
]
},
"title": "Frontend Developer",
"description": "Step by step guide to becoming a modern frontend developer",
"featuredDescription": "Step by step guide to becoming a modern frontend developer in 2020",
Expand Down
27 changes: 27 additions & 0 deletions content/roadmaps/2-backend/meta.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,31 @@
{
"seo": {
"title": "Backend Roadmap: Learn to become a modern backend developer",
"description": "Community driven, articles, resources, guides, interview questions, quizzes for modern backend development. Learn to become a modern backend developer by following the steps, skills, resources and guides listed in this roadmap.",
"keywords": [
"guide to becoming a developer",
"guide to becoming a backend developer",
"backend developer",
"backend engineer",
"backend skills",
"backend development",
"javascript developer",
"backend development skills",
"backend development skills test",
"backend engineer roadmap",
"backend developer roadmap",
"become a backend developer",
"backend developer career path",
"javascript developer",
"modern javascript developer",
"node developer",
"skills for backend development",
"learn backend development",
"what is backend development",
"backend developer quiz",
"backend developer interview questions"
]
},
"title": "Backend Developer",
"description": "Step by step guide to becoming a modern backend developer",
"featuredDescription": "Step by step guide to becoming a modern backend developer in 2020",
Expand Down
21 changes: 21 additions & 0 deletions content/roadmaps/3-devops/meta.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,25 @@
{
"seo": {
"title": "DevOps Roadmap: Learn to become an SRE or for any other operations role",
"description": "Community driven, articles, resources, guides, interview questions, quizzes for DevOps. Learn to become a modern DevOps engineer by following the steps, skills, resources and guides listed in this roadmap.",
"keywords": [
"guide to becoming a devops enginer",
"devops roadmap",
"sre roadmap",
"site reliability engineer roadmap",
"operations roles",
"become devops",
"devops skills",
"modern devops skills",
"devops skills test",
"skills for devops",
"learn devops",
"what is devops",
"what is sre",
"devops quiz",
"devops interview questions"
]
},
"title": "DevOps Roadmap",
"description": "Step by step guide for DevOps or any other Operations Role",
"featuredDescription": "Step by step guide to become an SRE or for any operations role in 2020",
Expand Down
27 changes: 27 additions & 0 deletions content/roadmaps/4-fullstack/meta.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,31 @@
{
"seo": {
"title": "Fullstack Roadmap: Learn to become a modern fullstack developer",
"description": "Community driven, articles, resources, guides, interview questions, quizzes for modern fullstack development. Learn to become a modern fullstack developer by following the steps, skills, resources and guides listed in this roadmap.",
"keywords": [
"guide to becoming a developer",
"guide to becoming a fullstack developer",
"fullstack developer",
"fullstack engineer",
"fullstack skills",
"fullstack development",
"javascript developer",
"fullstack development skills",
"fullstack development skills test",
"fullstack engineer roadmap",
"fullstack developer roadmap",
"become a fullstack developer",
"fullstack developer career path",
"javascript developer",
"modern javascript developer",
"node developer",
"skills for fullstack development",
"learn fullstack development",
"what is fullstack development",
"fullstack developer quiz",
"fullstack developer interview questions"
]
},
"title": "Full Stack Developer",
"description": "Step by step guide to becoming a modern fullstack developer in 2020",
"featuredDescription": "Step by step guide to becoming a modern fullstack developer in 2020",
Expand Down
18 changes: 18 additions & 0 deletions content/roadmaps/5-qa/meta.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,22 @@
{
"seo": {
"title": "QA Engineer Roadmap: Learn to become a modern QA engineer",
"description": "Community driven, articles, resources, guides, interview questions, quizzes for modern QA development. Learn to become a modern QA engineer by following the steps, skills, resources and guides listed in this roadmap.",
"keywords": [
"guide to becoming a QA engineer",
"QA engineer",
"QA skills",
"QA development skills",
"QA development skills test",
"QA engineer roadmap",
"become a QA engineer",
"QA engineer career path",
"skills for QA development",
"what is QA engineer",
"QA engineer quiz",
"QA engineer interview questions"
]
},
"title": "QA Engineer",
"description": "Steps to follow in order to become a modern QA Engineer in 2020",
"featuredDescription": "Step by step guide to becoming a modern QA Engineer in 2020",
Expand Down
2 changes: 1 addition & 1 deletion content/site.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"author": "Kamran Ahmed",
"title": "Roadmaps to becoming a modern developer",
"name": "roadmap.sh",
"description": "Roadmaps, articles and resources to help you choose your path, learn and improve.",
"description": "Community driven roadmaps, articles, guides, quizzes, tips and resources for developers to learn from, identify their career paths, know what they don't know, find out the knowledge gaps, learn and improve.",
"twitter": "kamranahmedse",
"facebook": "kamranahmedse",
"logo": "/brand.png",
Expand Down
5 changes: 3 additions & 2 deletions pages/[roadmap]/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ const Roadmap = ({ roadmap, canonical }) => {
<DefaultLayout>
<Helmet
canonical={canonical}
title={ roadmap.title }
description={ roadmap.description }
title={ roadmap?.seo?.title || roadmap.title }
description={ roadmap?.seo?.description || roadmap.description }
keywords={ roadmap?.keywords || [] }
/>
<SiteNav />
{ showSummary ? <RoadmapSummary roadmap={roadmap} /> : <DetailedRoadmap roadmap={roadmap} /> }
Expand Down
4 changes: 3 additions & 1 deletion pages/about.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ import Helmet from 'components/helmet';

const About = () => (
<DefaultLayout>
<Helmet />
<Helmet
title={'About roadmap.sh'}
/>
<SiteNav />
<AboutHeader />
<FaqList />
Expand Down
2 changes: 1 addition & 1 deletion pages/privacy.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pages/signup.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import Helmet from 'components/helmet';

const SignUp = () => (
<DefaultLayout>
<Helmet />
<Helmet title={'Sign Up: Be a part of the community'} />
<SiteNav />
<SignUpForm />
<PageFooter />
Expand Down
2 changes: 1 addition & 1 deletion pages/terms.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 4fb2e1f

Please sign in to comment.