Do not display hidden pages

pull/1331/head
Kamran Ahmed 5 years ago
parent 129deed6a9
commit 10e433f538
  1. 4
      components/detailed-roadmap/index.js

@ -18,6 +18,10 @@ const DetailedRoadmap = ({ roadmap }) => {
} = roadmap; } = roadmap;
const roadmapPages = Object.keys(sidebar || {}).map(groupTitle => { const roadmapPages = Object.keys(sidebar || {}).map(groupTitle => {
if (groupTitle.startsWith('_')) {
return;
}
return ( return (
<div className='links-group'> <div className='links-group'>
<h3>{ groupTitle }</h3> <h3>{ groupTitle }</h3>

Loading…
Cancel
Save