Skip to content

Commit

Permalink
Update doc link in non-html-pages example README
Browse files Browse the repository at this point in the history
Replace the following dead link:

/en/core-concepts/astro-pages/#non-html-pages
  • Loading branch information
weakish authored Feb 25, 2023
1 parent d94aae7 commit b7350c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/non-html-pages/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Documentation for "Non-HTML Pages":

https://docs.astro.build/en/core-concepts/astro-pages/#non-html-pages
https://docs.astro.build/en/core-concepts/endpoints/#static-file-endpoints

```
npm create astro@latest -- --template non-html-pages
Expand All @@ -28,7 +28,7 @@ Inside of your Astro project, you'll see the following folders and files:
└── package.json
```

Astro looks for `.astro` or `.md` files in the `src/pages/` directory. Each page is exposed as a route based on its file name.
Astro looks for `.astro`, `.js` or `.ts` files in the `src/pages/` directory. Each page is exposed as a route based on its file name.

There's nothing special about `src/components/`, but that's where we like to put any Astro/React/Vue/Svelte/Preact components.

Expand Down

0 comments on commit b7350c2

Please sign in to comment.