3 ms·
Yes. Some static site generators have good support for generating pages from a dynamic source, say API, database or anything you can access using programming l
by chazeon 3y ago
Yes.
Some static site generators have good support for generating pages from a dynamic source, say API, database or anything you can access using programming language.
See eleventy, for instance, has the “Javascript data files” [1], it run some JS code to generate a list of posts, here we can fetch from pocketbase, then, we can generate pages dynamically [2].
Pocketbase in this case just act as a lightweight CMS.
Is this what you’re talking about?
[1]: https://www.11ty.dev/docs/data-js/ https://www.11ty.dev/docs/data-js/
[2]: https://www.11ty.dev/docs/pages-from-data/ https://www.11ty.dev/docs/pages-from-data/
- Fire-Dragon-DoL 3y agoYes that is exactly what I was looking for. Amazing! Thank you