title: Static resources not loading on GitHub Pages
body: <p>I have created a website and am trying to host it on git hub pages. My site is available at - </p>
  
  <pre><code>http://&lt;username&gt;.github.io/&lt;project name&gt;/
  </code></pre>
  
  <p>But the static files for my site are available at the following path - </p>
  
  <pre><code>http://&lt;username&gt;.github.io/css/site.css
  http://&lt;username&gt;.github.io/script/main.js
  </code></pre>
  
  <p>The above path omits the <code>&lt;project name&gt;</code></p>
  
  <p>So whenever I hit the url my static files are not loaded.</p>
  
  <p>Is there a way to make it work with the github url?</p>
  
  <p><strong>Note:</strong> When I use a custom domain everything works fine because the relative paths are fine in that case. </p>
  
  <p><strong>Temporary Solution</strong>
  I have created a <a href="https://help.github.com/articles/user-organization-and-project-pages" rel="noreferrer">User page instead of a Project page</a> to overcome this issue.</p>