title: Programs to Compile HTML from a Template
body: <p>I'm working on a website that just uses HTML, CSS, and JS (no backend needed).  It's a simple site whose main purpose is to present information.  I have one standard template for all the pages (header, area for content, footer).  Right now, I have to copy and paste it into each page and update any changes to it manually on a page by page basis.</p>
  
  <p>Are there any good programs out there that will allow me to:</p>
  
  <ul>
  <li>set a template</li>
  <li>write the content code for each page separately</li>
  <li>compile each page by inserting the content into the template (at a specified point)</li>
  <li>output the compilation into a third file</li>
  </ul>
  
  <p>Bonus points for something that works similar to SASS where I can have the program watch a directory for changes and auto-compile files into another directory.</p>
  
  <p>Bonus points for something that allows me to add in content at multiple sections.</p>
  
  <p>I want to reiterate- I do not want to use a backend language (such as PHP or Django) that would stitch the pages together on the fly.  The site I'm working on doesn't need that, and it would negatively affect performance and maintainability.</p>