diff --git a/_includes/JB/setup b/_includes/JB/setup index efcd84b..bb51ab7 100644 --- a/_includes/JB/setup +++ b/_includes/JB/setup @@ -16,7 +16,7 @@ {% 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 %} + {% capture ASSET_PATH %}{{ BASE_PATH }}/assets/themes/{% if page.theme.name %}{{ page.theme.name }}{% else %if %}{{layout.theme.name }}{% endif %}{% endcapture %} + {% endif %} {% endif %} -{% endcapture %}{% assign jbcache = nil %} \ No newline at end of file +{% endcapture %}{% assign jbcache = nil %}