Commit 2c9ca28
committed
blog: move markdown sibling out from under HTML page
`pageExtensions: ["ts", "tsx", "md", "mdx"]` plus a directory named `index.md/` made Next.js treat the markdown route as the index page of `[slug]/`, so `/blog/<slug>` was serving the markdown body instead of the rendered post.
Rename the directory to `raw.md/` so the segment is a literal child path (same shape as `feed.xml`) with no `index.<ext>` collision. URL becomes `/blog/<slug>/raw.md`. llms.txt updated to match.1 parent 25bdf3e commit 2c9ca28
2 files changed
Lines changed: 1 addition & 1 deletion
File renamed without changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
0 commit comments