Skip to content

Commit

Permalink
Merge pull request #25 from MarkChenYutian/issue11
Browse files Browse the repository at this point in the history
fix of issue #11
  • Loading branch information
apoorvam authored Jan 1, 2020
2 parents bf3d733 + 0d43d77 commit b73761b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ module.exports = {
},
{
resolve: "gatsby-remark-copy-linked-files"
}
},
"gatsby-remark-autolink-headers"
],
extensions: [".mdx", ".md"]
}
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"gatsby-plugin-react-helmet": "3.0.12",
"gatsby-plugin-sharp": "^2.2.10",
"gatsby-plugin-sitemap": "^2.0.12",
"gatsby-remark-autolink-headers": "^2.1.21",
"gatsby-remark-copy-linked-files": "^2.0.11",
"gatsby-remark-images": "3.0.10",
"gatsby-source-filesystem": "^2.0.29",
Expand Down
2 changes: 1 addition & 1 deletion src/components/rightSidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ const SidebarLayout = ({ location }) => (
return (
<ListItem
key={index}
to={`#${innerItem.title}`}
to={`${innerItem.url}`}
level={1}
>
{innerItem.title}
Expand Down

0 comments on commit b73761b

Please sign in to comment.