diff options
Diffstat (limited to '_includes')
-rw-r--r-- | _includes/JB/setup (renamed from _includes/JB/set_paths) | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/_includes/JB/set_paths b/_includes/JB/setup index 890f2d8..337a2a7 100644 --- a/_includes/JB/set_paths +++ b/_includes/JB/setup @@ -1,13 +1,12 @@ {% capture jbcache %} -<!-- - Dynamically set liquid variables for working with URLs/paths ---> - + <!-- + - Dynamically set liquid variables for working with URLs/paths + --> {% if site.safe and site.JB.BASE_PATH %} {% assign BASE_PATH = site.JB.BASE_PATH %} {% assign HOME_URL = site.JB.BASE_PATH %} {% else %} - {% assign BASE_PATH = "" %} + {% assign BASE_PATH = nil %} {% assign HOME_URL = "/" %} {% endif %} @@ -17,4 +16,4 @@ {% capture ASSET_PATH %}{{ BASE_PATH }}/assets/themes/{{ page.theme.name }}{% endcapture %} {% endif %} -{% endcapture %}{% assign jbcache = null %}
\ No newline at end of file +{% endcapture %}{% assign jbcache = nil %}
\ No newline at end of file |