 <p>Change your <code>baseurl: ""</code> in _config.yml to <code>baseurl: "/"</code>.</p> <p>The code in your head.html include is <code>&lt;link rel="stylesheet" href="{{ "css/main.css" | prepend: site.baseurl }}"&gt;</code></p> <p>Jekyll renders this code as <code>&lt;link rel="stylesheet" href="css/main.css"&gt;</code>. That code tries to find main.css relative to the page. </p> <p>Add the / and the code rendered will be <code>&lt;link rel="stylesheet" href="/css/main.css"&gt;</code>. This will try to find main.css relative to the site root.</p> <p>More info on relative paths - <a href="http://www.motive.co.nz/glossary/linking.php" rel="nofollow">http://www.motive.co.nz/glossary/linking.php</a></p>