diff --git a/_includes/JB/set_paths b/_includes/JB/setup similarity index 73% rename from _includes/JB/set_paths rename to _includes/JB/setup index 890f2d8..337a2a7 100644 --- a/_includes/JB/set_paths +++ b/_includes/JB/setup @@ -1,13 +1,12 @@ {% capture jbcache %} - - + {% 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