spectrum2/_includes/JB/setup

23 lines
736 B
Text
Raw Permalink Normal View History

2012-11-28 20:54:44 +01:00
{% capture jbcache %}
<!--
- Dynamically set liquid variables for working with URLs/paths
-->
{% 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 %}
2017-04-27 12:00:55 +03:00
{% capture ASSET_PATH %}{{ BASE_PATH }}/assets/themes/{{ layout.theme.name }}{% endcapture %}
2012-11-28 20:54:44 +01:00
{% endif %}
{% endif %}
2017-04-27 12:00:55 +03:00
{% endcapture %}{% assign jbcache = nil %}