title: Github Pages and Jekyll permalinks going to different paths
body: <p>I have a site running locally with Jekyll and deployed to GitHub Pages without any issues.</p>
  <p>The issue I have is with GitHub pages and local permalinks.</p>
  <pre><code>https://username.github.io/my-repositary
  </code></pre>
  <p>and localhost is going to the root</p>
  <pre><code>http://localhost:4000/
  </code></pre>
  <p>So adding a page About in the root and linking to ends up looking like this</p>
  <pre><code>https://username.github.io/about
  http://localhost:4000/about
  </code></pre>
  <p>Rather than the desired outcome</p>
  <pre><code>https://username.github.io/my-repositary/about
  http://localhost:4000/about
  </code></pre>