diff options
author | Jade Dominguez <plusjade@gmail.com> | 2012-02-06 13:32:44 -0800 |
---|---|---|
committer | Jade Dominguez <plusjade@gmail.com> | 2012-02-06 13:32:44 -0800 |
commit | 3a2df76133171e1cd576708a60694e7d0632b671 (patch) | |
tree | be5f02611846dee9b0c0db08f1a6e5fc413401cc /_config.yml | |
parent | eb408084fcdb91325816ebdeeecd63538471cd3a (diff) |
Resolve incorrect HOME_PATH/BASE_PATH settings
JB/setup needs to account for being falsy. Also add better usage instructions for BASE_PATH. Fixes #30
Diffstat (limited to '_config.yml')
-rw-r--r-- | _config.yml | 26 |
1 files changed, 20 insertions, 6 deletions
diff --git a/_config.yml b/_config.yml index 4fa3bc0..722b38e 100644 --- a/_config.yml +++ b/_config.yml @@ -34,14 +34,28 @@ JB : version : 0.2.0 # All links will be namespaced by BASE_PATH if defined. - # This is required for hosting GitHub Project Pages. - # If you are deploying this website for one of your GitHub projects - # you must set BASE_PATH to the name of your GitHub project. + # Links in your website should always be prefixed with {{BASE_PATH}} + # however this value will be dynamically changed depending on your deployment situation. # - # Leave this blank if you have defined a CNAME for your site (pages.github.com) - # NOTE: When in localhost, your site will run from root "/" regardless of BASE_PATH + # CNAME (http://yourcustomdomain.com) + # DO NOT SET BASE_PATH + # (urls will be prefixed with "/" and work relatively) # - BASE_PATH : "" + # GitHub Pages (http://username.github.com) + # DO NOT SET BASE_PATH + # (urls will be prefixed with "/" and work relatively) + # + # GitHub Project Pages (http://username.github.com/project-name) + # + # A GitHub Project site exists in the `gh-pages` branch of one of your repositories. + # REQUIRED! Set BASE_PATH to: http://username.github.com/project-name + # + # CAUTION: + # - When in Localhost, your site will run from root "/" regardless of BASE_PATH + # - Only the following values are falsy: ["", null, false] + # - When setting BASE_PATH it must be a valid url. + # This means always setting the protocol (http|https) or prefixing with "/" + BASE_PATH : false # By default, the asset_path is automatically defined relative to BASE_PATH plus the enabled theme. # ex: [BASE_PATH]/assets/themes/[THEME-NAME] |