akzhy / gatsby-starter-elemental

Gatsby starter for portfolio sites
https://elemental.netlify.app
MIT License
137 stars 57 forks source link

How can I change the link from /portfolio to /projects? #24

Closed arshiuh closed 4 years ago

arshiuh commented 4 years ago

What files would I have to change the URL for each of the NavLinks?

akzhy commented 4 years ago

Hey @arshiuh there are a couple of changes that you have to make.

First rename the portfolio folder in contents to projects.

Replace portfolio with projects on these files gatsby-node.js, on lines 67, 130 src/components/list-portfolio.js, line 9 src/templates/portfolio-list.js, line 21,43