Is there any way in Sublime Text to place a directive in one file, that when opened by Sublime Text will cause the directive to be replaced by the text in another file that was referred to in the directive? Such as–
[code]
== insert text of file-a here ==
Lots of HTML or other code
== insert text of file-b here ==
More text or code, etc.[/code]
This type of template-like file, containing directives or placeholders that Sublime Text would replace with the actual text from the files referred to in the directives, would make it easy to update a collection of webpages that contain many sections of usually static text or HTML code that are identical in all or most of the pages of the website, but which might be changed from time to time, by inserting the text from the files containing those sections (like upper-navigation.html, header.html, footer.html, left-sidebar-bottom.html) while each such template-like file would contain in plain text form (in addition to the directives to include text from other files) the content that is unique to that particular file, such as the main content of an HTML webpage.
In this way, if one changes any of the parts or pieces that are usually assembled to create a particular webpage, one could merely open the template-like file that contains the “include” directives, to generate a new version of the page that contains any changes made to any of its usually-static parts which are stored in individual files.
This would be much simpler than copying new header or navigation HTML text and then pasting it into each of dozens or perhaps hundreds of pages in a fairly static website that doesn’t rely on PHP and a database.