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
@k4gi because it's not a templating language anymore (and it never was a good one, they went and built twig so it could have proper templates) and you're not making anything dynamic anyways
@noiob ooo why not? i haven't used php very much