title: Optimal way to include files/html for offline viewing
body: <p>I'm currently building a website using the service provided by github with gh-pages. </p>
  
  <p>Since it is possible to download the repository as a zip package, i'm trying to figure out a good way to include header, footer and other stuff into the different pages I'm about to write for an offline browsing supported by at least the more common browsers such us chrome, safari and firefox.</p>
  
  <p>The website builded this way should be rendered only by the browser, so php, ssi etc don't fit the need.</p>
  
  <p>Jquery seems to be a good way (of course given that i provide the needed scripts in the repo to download), but i am having some issues with chrome which encounter a permission denied error handling a localhost file retrivial.</p>
  
  <p>So in which smart way can i include an HTML file into another one?</p>