openjpeg/_includes/JB/setup

24 lines
773 B
Plaintext
Raw Permalink Normal View History

2015-06-16 10:54:48 +02:00
{% capture jbcache %}
<!--
- Dynamically set liquid variables for working with URLs/paths
-->
{% include JB/is_production %}
{% if site.JB.setup.provider == "custom" %}
{% include custom/setup %}
{% else %}
{% if is_production 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 %}
2016-06-20 00:14:13 +02:00
{% capture ASSET_PATH %}{{ BASE_PATH }}/assets/themes/{{ layout.theme.name }}{% endcapture %}
2015-06-16 10:54:48 +02:00
{% endif %}
{% endif %}
2016-06-20 00:14:13 +02:00
{% endcapture %}{% assign jbcache = nil %}