Replies: 1 comment
-
One option that comes to mind, though it doesn't, to my knowledge, quite work is if I could make a data loader which lists a directory. Unfortunately, there's no way for the loader to get cache invalidated. Maybe it's possible to never cache a data file? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've been able to get
dynamicPaths
working as desired and generating pages, but now it's unclear how to access these pages. Ideally, I'd be able to either put them into the sidebar or, alternatively, have an index page which is capable of guessing what pages should exist and generating links.The former seems unlikely to work as
dynamicPaths
can be updated asynchronously, butpages
cannot. The latter is difficult because within a markdown file I don't have access tonode
to, i.e., inspect my filesystem and detect which pages are available.Is there a recommended method to make dynamic pages accessible?
Beta Was this translation helpful? Give feedback.
All reactions