Category in my blog routes

Hi!

I will to create the following routes for my blog

  • /blog/post (for posts without category)
  • /blog/[category]/post (for posts with a category)

You cant help me?

Regards

You can create whatever folder structure you want. The URLs will map to your folder structure. Routing can help out. If you want it purely dynamic, then you’ll have to do some coding. Start with Page Collections.

Thanks!