You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @npmrun — this is because you have moved the blog posts (first-post.md, second-post.md etc.) out of the src/pages/blog/ directory and into src/content/. To make a Markdown or MDX file a page on your site, the files must be inside src/pages/.
This is also why the links are missing in the list of posts because although you updated the Astro.glob in src/pages/blog.astro to use the new content location, in the template post.url will not be defined because files outside of src/pages/ do not have a url property.
I’ll close this as it is not a bug with Astro, but if you run into any other issues, you can join our Discord chat where the community will be happy to help! https://astro.build/chat
What version of
astro
are you using?1.0.6
Are you using an SSR adapter? If so, which one?
None
What package manager are you using?
npm
What operating system are you using?
Linux
Describe the Bug
cannot click to blog page
Link to Minimal Reproducible Example
https://stackblitz.com/edit/withastro-astro-nqgqjz
Participation
The text was updated successfully, but these errors were encountered: