Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Category in my blog routes

Started by Muut Archive 10 years ago · 2 replies · 612 views
10 years ago

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

10 years ago

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.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Muut Archive, 10 years ago
1 673 1 week ago
Archive · by Deleted User, 9 years ago
0 3043 9 years ago
Archive · by Muut Archive, 9 years ago
2 1983 9 years ago
Archive · by Muut Archive, 9 years ago
2 5336 9 years ago
Archive · by Muut Archive, 9 years ago
1 4134 9 years ago