Hallo, i hope everyone is in perfect condition today. i need your recommendation for include tools on html file since i used to develop static websites, sometimes it gets trouble while updating a content because i need to change all content in all html file. I found some tools like pico, monstra and leeflet. please kindly inform me your thought about the tools, which is the most effective one and may be there are others tool could be use for this case. thank you very much
you can have your templates in a folder, with header like %HEADER%, and when you want to deploy/update the pages, do something like sed "s/%HEADER%/$header/" templatefile.html deploy/output.html having your header html in the $header variable. so... basically a simple shell script in bash using sed for replacement. whenever you want to update the css, just edit templates and deploy again. (dont overwrite template files, output the static htmls to another folder)