setup 736 B

12345678910111213141516171819202122
  1. {% capture jbcache %}
  2. <!--
  3. - Dynamically set liquid variables for working with URLs/paths
  4. -->
  5. {% if site.JB.setup.provider == "custom" %}
  6. {% include custom/setup %}
  7. {% else %}
  8. {% if site.safe and site.JB.BASE_PATH and site.JB.BASE_PATH != '' %}
  9. {% assign BASE_PATH = site.JB.BASE_PATH %}
  10. {% assign HOME_PATH = site.JB.BASE_PATH %}
  11. {% else %}
  12. {% assign BASE_PATH = nil %}
  13. {% assign HOME_PATH = "/" %}
  14. {% endif %}
  15. {% if site.JB.ASSET_PATH %}
  16. {% assign ASSET_PATH = site.JB.ASSET_PATH %}
  17. {% else %}
  18. {% capture ASSET_PATH %}{{ BASE_PATH }}/assets/themes/{{ layout.theme.name }}{% endcapture %}
  19. {% endif %}
  20. {% endif %}
  21. {% endcapture %}{% assign jbcache = nil %}