Fix SEO titles and keywords

This commit is contained in:
Kamran Ahmed
2020-01-29 10:42:52 +05:00
parent 8eccfd22e3
commit 4fb2e1f46d
15 changed files with 292 additions and 61 deletions

View File

@@ -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} /> }