Open bgilhome opened 2 years ago
Can the Pages preset static site generator handle dynamic or wildcard routes, e.g.
{ ... path: '/articles/[slug]' }
or even
{ ... path: '/articles/*' }
? Where slug would then be available in the template.
slug
Alternatively, is it possible to export an array of pages from a single .pages.jsx file?
Hi, right now it is not possible. Will check if it is easy to integrate it.
Can the Pages preset static site generator handle dynamic or wildcard routes, e.g.
or even
? Where
slug
would then be available in the template.Alternatively, is it possible to export an array of pages from a single .pages.jsx file?