From 56fad60e5e17643ec8a92887a3368daa734b34aa Mon Sep 17 00:00:00 2001 From: Ritesh Kumar Date: Fri, 1 Sep 2017 21:43:51 +0530 Subject: [PATCH] fix seo and update readme --- components/Layout.js | 4 ++-- readme.md | 16 ++++++++++++++++ utils/routes.js | 1 + 3 files changed, 19 insertions(+), 2 deletions(-) diff --git a/components/Layout.js b/components/Layout.js index 468c940..bee5029 100644 --- a/components/Layout.js +++ b/components/Layout.js @@ -109,12 +109,12 @@ export default class Layout extends PureComponent { }; render() { - const { label, desc } = activeRouteData(this.props.pathname); + const { label, desc, title } = activeRouteData(this.props.pathname); return (
- {label} + {title || label}