Add active link classes to site navigation menu (#463)

This commit is contained in:
Elian Ibaj 2018-03-04 17:53:31 +01:00 committed by Joel Marcey
parent 4ea8158c0c
commit 48ee457ec9
9 changed files with 66 additions and 15 deletions

View file

@ -26,7 +26,11 @@ class BlogPageLayout extends React.Component {
const perPage = this.props.metadata.perPage;
const page = this.props.metadata.page;
return (
<Site title="Blog" language="en" config={this.props.config}>
<Site
title="Blog"
language="en"
config={this.props.config}
metadata={{blog: true, blogListing: true}}>
<div className="docMainWrapper wrapper">
<BlogSidebar
language={this.props.language}