title: HTML5 Boilerplate Build script - HTML in subfolders and relative links to CSS/JS problem
body: <p>My project is using HTML5Boilerplate and contains subdirectories with HTML files that reference /js and css/ in the main root folders.</p>
  
  <p>Example:
  /article/xxx/index.html
  /article/yyy/index.html</p>
  
  <p>These .html files have relative path href/src to the css/js files in the root folder.</p>
  
  <pre><code>&lt;link rel="stylesheet" href="../../css/style.css" /&gt;
  &lt;script src="../../js/plugins.js"&gt;&lt;/script&gt;
  &lt;script src="../../js/script.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>I'm trying to have the build script recognise these files in the subdirectories and replace the paths accordingly to the concatenated/minified JS and CSS files and I tried adding this to the file.pages property on project.properties</p>
  
  <pre><code>file.pages =  index.html, article/xxx/*.html, article/xxx/*.html
  </code></pre>
  
  <p>But no dice, the CSS/JS paths get replaced as if the files are in the root folder, like so:</p>
  
  <pre><code>&lt;link rel=stylesheet href='css/7d3586f292b65c896ef495e2e8ef042901d7c2e2.css'&gt;
  </code></pre>
  
  <p>Which doesn't work evidently.
  Would be really grateful if anyone knows a workaround/modification for this or if this might just plain be a no-go? </p>
  
  <p>Thanks in advance to any help :D</p>