how to remove /projects ? #16
Answered
by
trevortylerlee
arastoonet
asked this question in
Q&A
-
I don't need and have /projects instead I need an about page. how can I remove /projects? |
Beta Was this translation helpful? Give feedback.
Answered by
trevortylerlee
Jun 13, 2024
Replies: 1 comment
-
To add an "About" page, create a new file in To remove the
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
arastoonet
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To add an "About" page, create a new file in
src/pages
calledabout.astro
. Usesrc/pages/index.astro
as a starting point and delete what isn't needed.To remove the
/projects
collection:PROJECTS
metadata fromsrc/consts.ts
projects
collection insrc/content/config.ts
projects
directory insrc/content
projects
directory insrc/pages/projects
Link
to/projects
insrc/components/Header.astro
, specifically lines 20 to 23/src/pages/index.astro
, specifically lines 84 to 100