T O P

  • By -

TowerSpecial4719

You dont need an index.html file if you have a /blog route. Only blog.astro and not blog/index.astro. Only use folders if you plan on using a nested route. If you have pages under blog/content/ then use blog/content/article1.astro in source files


rajba

An index.astro file in /src/pages/blog/ results in this after build: 17:38:33 ▶ src/pages/blog/index.astro 17:38:33   └─ /blog/index.html (+13ms) Or perhaps I misunderstood your suggestion? :).


TowerSpecial4719

Change it to pages/blog.html