Skip to content

Commit 68f4d64

Browse files
committed
1 parent 09f770e commit 68f4d64

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

_includes/JB/setup

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
{% if site.JB.ASSET_PATH %}
1818
{% assign ASSET_PATH = site.JB.ASSET_PATH %}
1919
{% else %}
20-
{% capture ASSET_PATH %}{{ BASE_PATH }}/assets/themes/{{ page.theme.name }}{% endcapture %}
21-
{% endif %}
20+
{% capture ASSET_PATH %}{{ BASE_PATH }}/assets/themes/{% if page.theme.name %}{{ page.theme.name }}{% else if %}{{ layout.theme.name }}{% endif %}{% endcapture %}
21+
{% endif %}
2222
{% endif %}
23-
{% endcapture %}{% assign jbcache = nil %}
23+
{% endcapture %}{% assign jbcache = nil %}

0 commit comments

Comments
 (0)