text editor and/or html question
is there a text editor that can pick out the parts of many files that are identical and make changes to all of them at once? i'm picturing, like. the parts of files that aren't the same across all of them being highlighted in red. being able to select and deselect certain files.
specifically im wanting to be able to change the head of all pages on my website at once. as far as i know there's no way to import one html file into another?
re: text editor and/or html question
@k4gi I think what you want is a static site generator, it'll let you use macros and templates in your website and "compile" it to a set of static files that work as if you hand-wrote them
including html in html is not supported, I guess you could go old-school and use framesets or sth
re: text editor and/or html question
@noiob i have thought about a static site generator, perhaps it is what i am after... though i am loathe to move away from just editing everything by hand
re: text editor and/or html question
@k4gi I used Zola for my dad's super simple website to not have to repeat the contact widget between two pages (three occurrences) and it was already worth it
@k4gi you can always use PHP, the original html templating language (as fedi's PHP defender, please don't)