openzim / nautilus

Turns a collection of documents into a browsable ZIM file
GNU General Public License v3.0
19 stars 14 forks source link

better separation of code and UI #12

Closed rgaudin closed 4 years ago

rgaudin commented 4 years ago

ATM the nautilus JS code and HTML are much imbricated because all the features are controlled in the JS.

While this is acceptable, we should improve the maintenance of the HTML code by separating the HTML code a bit and maybe use a basic templating system.

https://handlebarsjs.com/ might be an option.