File tree 2 files changed +21
-7
lines changed
2 files changed +21
-7
lines changed Original file line number Diff line number Diff line change 34
34
version : 0.2.0
35
35
36
36
# All links will be namespaced by BASE_PATH if defined.
37
- # This is required for hosting GitHub Project Pages.
38
- # If you are deploying this website for one of your GitHub projects
39
- # you must set BASE_PATH to the name of your GitHub project.
37
+ # Links in your website should always be prefixed with {{BASE_PATH}}
38
+ # however this value will be dynamically changed depending on your deployment situation.
40
39
#
41
- # Leave this blank if you have defined a CNAME for your site (pages.github.com)
42
- # NOTE: When in localhost, your site will run from root "/" regardless of BASE_PATH
40
+ # CNAME (http://yourcustomdomain.com)
41
+ # DO NOT SET BASE_PATH
42
+ # (urls will be prefixed with "/" and work relatively)
43
43
#
44
- BASE_PATH : " "
44
+ # GitHub Pages (http://username.github.com)
45
+ # DO NOT SET BASE_PATH
46
+ # (urls will be prefixed with "/" and work relatively)
47
+ #
48
+ # GitHub Project Pages (http://username.github.com/project-name)
49
+ #
50
+ # A GitHub Project site exists in the `gh-pages` branch of one of your repositories.
51
+ # REQUIRED! Set BASE_PATH to: http://username.github.com/project-name
52
+ #
53
+ # CAUTION:
54
+ # - When in Localhost, your site will run from root "/" regardless of BASE_PATH
55
+ # - Only the following values are falsy: ["", null, false]
56
+ # - When setting BASE_PATH it must be a valid url.
57
+ # This means always setting the protocol (http|https) or prefixing with "/"
58
+ BASE_PATH : false
45
59
46
60
# By default, the asset_path is automatically defined relative to BASE_PATH plus the enabled theme.
47
61
# ex: [BASE_PATH]/assets/themes/[THEME-NAME]
Original file line number Diff line number Diff line change 5
5
{% if site.JB.setup.provider == "custom" %}
6
6
{% include custom/setup %}
7
7
{% else %}
8
- {% if site.safe and site.JB.BASE_PATH %}
8
+ {% if site.safe and site.JB.BASE_PATH and site.JB.BASE_PATH != '' %}
9
9
{% assign BASE_PATH = site.JB.BASE_PATH %}
10
10
{% assign HOME_PATH = site.JB.BASE_PATH %}
11
11
{% else %}
You can’t perform that action at this time.
0 commit comments