#Should I use scripts to generate html files?

5 messages · Page 1 of 1 (latest)

hardy pine
#

I started making a wiki website but having to write the same html code in new pages then adding them in the pages list page is tedious. Should I use scripts to generate html files from .json files?

candid swallow
#

Yeah! Thats a good idea

midnight quiver
#

your idea is not problem in react or other JS frameworks.
but if you have to implement that only html and js, you can create html by Javascript.

#

That's very easy.

proper hare
#

If you are familiar with react, you could make a modular hook for a base page and change minimal stuff periodically for extended/special content