What would be a recommended tool (works on Linux) for managing included HTML fragments like shared footers, in a directory of static HTML serving as a clickable UI prototype?
I want to be able to serve the prototype from a web directory of static content (without server-side dynamism), while easily managing the shared elements of navigation, headers, footer. Maybe even handle boilerplate page layout.
Inspiration: this question was inspired by my experience trying out the Handcraft prototyping webapp. It's HCML templating language that permit reuse of HTML with "parts" (includes) and "layouts" (masters).
Basically, something like the Dreamweaver "library segments. Something that inserts snippets (like Komodo) is not sufficient - unless it has the power to simultaneously update all files where that snippet was previously inserted.
I'm imagining something like this in my static HTML:
<html><body><div id="include_footer">The Footer</div></body></html>
And when I edit "The Footer" to read "The Better Footer" and run this tool, then other files containing a div of id="include_footer" will be updated to the latest footer.