We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f27c5f3 commit 79ca992Copy full SHA for 79ca992
components/page/page.jsx
@@ -32,7 +32,15 @@ const Page = ({ page, section }) => {
32
id="components/sidebar/sidebar.jsx"
33
component={ Sidebar }
34
sectionName={ section.name }
35
- pages={ section.pages().map(page => ({ url, title, anchors })) }
+ pages={ section.pages().map(({
36
+ file: {
37
+ attributes: {
38
+ anchors,
39
+ title
40
+ }
41
+ },
42
+ url
43
+ }) => ({ url, title, anchors })) }
44
currentPage={ url } />
45
46
<section className="page__content">
0 commit comments