← Back to context

Comment by chazeon

2 years 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/

[2]: https://www.11ty.dev/docs/pages-from-data/