Jekyll URLs add leading slash when pushed to Github Pages
<p>I have successfully hosted on Github Pages. Today I was trying to run the site through browser-sync so I could view my changes faster, and noticed that my urls were different when served locally than on the actual website. Here's what the local url looks like:</p>

<pre><code>&lt;a href="blog/post-title/"&gt;
</code></pre>

<p>Which when clicked on brings me to the page</p>

<pre><code>http://localhost:3000/blog/blog/oven-baked-fajitas/
</code></pre>

<p>This same link, once it has been pushed to the Github repo and processed by them, turns into</p>

<pre><code>&lt;a href="/blog/blog-title/"&gt;
</code></pre>

<p>Which works correctly.</p>

<p>I link to individual posts in my archive like this:</p>

<pre><code>&lt;a href="{{ post.url }}"&gt;
</code></pre>

<p>And my <code>_config.yml</code> is as follows:</p>

<pre><code>name: Adam Hammes
description: Adam Hammes' Website
author: Adam Hammes
url: http://hammes.io
permalink: blog/:title/
excerpt_separator: &lt;!--more--&gt;
exclude: ["README.md", "gulpfile.js", "package.json", "node_modules"]
</code></pre>

<p>What I have tried:</p>

<ol>
<li><p>I added <code>baseurl: ""</code> to my <code>_config.yml</code>; no effect.</p></li>
<li><p>I added <code>baseurl: "/"</code>; no effect.</p></li>
<li><p>I added <code>baseurl: "/"</code>, and changed the link format to <code>{{ site.baseurl }}{{ post.url}}</code>; this fixed the links locally, but resulted in 2 leading slashes live thus breaking the links.</p></li>
</ol>