diff --git a/_includes/JB/setup b/_includes/JB/setup new file mode 100644 index 0000000000000000000000000000000000000000..efcd84b002a6cd4aac9b6c2ae74c84fd7e9c16b4 --- /dev/null +++ b/_includes/JB/setup @@ -0,0 +1,22 @@ +{% capture jbcache %} + + {% if site.JB.setup.provider == "custom" %} + {% include custom/setup %} + {% else %} + {% if site.safe and site.JB.BASE_PATH and site.JB.BASE_PATH != '' %} + {% assign BASE_PATH = site.JB.BASE_PATH %} + {% assign HOME_PATH = site.JB.BASE_PATH %} + {% else %} + {% assign BASE_PATH = nil %} + {% assign HOME_PATH = "/" %} + {% endif %} + + {% if site.JB.ASSET_PATH %} + {% assign ASSET_PATH = site.JB.ASSET_PATH %} + {% else %} + {% capture ASSET_PATH %}{{ BASE_PATH }}/assets/themes/{{ page.theme.name }}{% endcapture %} + {% endif %} + {% endif %} +{% endcapture %}{% assign jbcache = nil %} \ No newline at end of file