title: Using grunt js, how can I dynamically add the <title> to static html files?
body: <p>More specifically, I want to add the titles by referencing an external JSON file, let's call it titles.json. </p>
  
  <p>One of the things I use grunt for is to build static HTML files for design and debugging. This would be really helpful during development, not just for titles but potentially other data as well, such as setting the active nav link. </p>
  
  <p>I'm currently concatenating HTML files using the process described by the accepted answer here:
  <a href="https://stackoverflow.com/questions/12722855/using-grunt-concat-how-would-i-automate-the-concatenation-of-the-same-file-to-m?lq=1">Using grunt concat, how would I automate the concatenation of the same file to many other files?</a></p>
  
  <p>EDIT: <strong>I now use <a href="http://github.com/assemble/assemble" rel="nofollow noreferrer">assemble</a> for this</strong>, it was created to make working with templates and external data very easy. </p>