mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-13 17:17:28 +02:00
Add active link classes to site navigation menu (#463)
This commit is contained in:
parent
4ea8158c0c
commit
48ee457ec9
9 changed files with 66 additions and 15 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue