You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to set up a documentation app in sveltekit that behaves similarly to Hugo SSG where I can have a top-level content folder and all of my markdown files live there. I can get the top-level files within content/ to display, however anything in a subfolder causes a 500 error if you refresh on a nested page.
Ideally, I'd like to try to utilize a catchall route like [...slug] that can handle an infinite number of path sections (site.com/getting-started/part-one/intro.md).
Can anyone point me in the right direction on how I can support this?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm trying to set up a documentation app in sveltekit that behaves similarly to Hugo SSG where I can have a top-level content folder and all of my markdown files live there. I can get the top-level files within
content/
to display, however anything in a subfolder causes a 500 error if you refresh on a nested page.Ideally, I'd like to try to utilize a catchall route like [...slug] that can handle an infinite number of path sections (site.com/getting-started/part-one/intro.md).
Can anyone point me in the right direction on how I can support this?
Beta Was this translation helpful? Give feedback.
All reactions