Add resources link in SSG

pull/1331/head
Kamran Ahmed 5 years ago
parent 9dfbceda7c
commit 56e2108be2
  1. 2
      content/roadmaps/1-frontend/resources.md
  2. 4
      scripts/path-map.js

@ -1,4 +1,4 @@
<div class='alert alert-primary' style={{ marginBottom: '-10px'}}>
<div className='alert alert-primary' style={{ marginBottom: '-10px'}}>
This page is incomplete and is being worked upon. Please check back later or <a href='/signup'>subscribe</a> / <a href='https://twitter.com/kamranahmedse'>follow me on twitter</a> to get notified. Also, feel free to contribute by suggesting the resources in <a href='https://github.com/kamranahmedse/developer-roadmap'>the issues</a>.
</div>

@ -73,6 +73,10 @@ const getRoadmapRoutes = () => {
page: '/[roadmap]',
query: roadmap.url.replace(/\/+/, ''),
},
[`${roadmap.url}/resources`]: {
page: '/[roadmap]/resources',
query: roadmap.url.replace(/\/+/, ''),
},
// Routes for all the pages inside this directory
...pages.reduce((pageRoutes, page) => {
return {

Loading…
Cancel
Save