Skip to content

how to remove /projects ? #16

Answered by trevortylerlee
arastoonet asked this question in Q&A
Discussion options

You must be logged in to vote

To add an "About" page, create a new file in src/pages called about.astro. Use src/pages/index.astro as a starting point and delete what isn't needed.

To remove the /projects collection:

  1. Delete the PROJECTS metadata from src/consts.ts
  2. Delete the projects collection in src/content/config.ts
  3. Delete the projects directory in src/content
  4. Delete the projects directory in src/pages/projects
  5. Delete the Link to /projects in src/components/Header.astro, specifically lines 20 to 23
  6. Delete the Projects section in /src/pages/index.astro, specifically lines 84 to 100

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by arastoonet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants