can not set BASE_PATH #45

jedipunkz opened this Issue Feb 23, 2012 · 1 comment


None yet

2 participants


I set BASE_PATH in _config.yml.

BASE_PATH : /jekyll/test/_site

But, path in generated contents are "/${contents} .

<link href="/assets/themes/twitter/css/1.4.0/bootstrap.css" rel="stylesheet">
<link href="/assets/themes/twitter/css/style.css?body=1" rel="stylesheet" type="text/css" media="all">
<li><a href="/tags.html">Tags</a></li>
<li><a href="/pages.html">Pages</a></li>
<li><a href="/archive.html">Archive</a></li>

Is this problem ?

ASSET_PATH is usefull.

@jedipunkz jedipunkz closed this Feb 23, 2012
@plusjade plusjade reopened this Mar 1, 2012
plusjade commented Mar 1, 2012

Hi @chobiwan , sorry for taking a while to reply. Did you get this issue resolved?
Off the top of my head I can say that BASE_PATH is always set to the root path '/' when working in localhost. This is so your website works as normal when developing. I.e. routes needed to be routed to 'localhost:4000/'

When you deploy to GitHub pages github will reset the config to true which JB uses as a way to denote "this is production". So BASE_PATH is set to whatever you set it in the config when in production mode.

@plusjade plusjade closed this Mar 24, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment