Skip to content

Commit

Permalink
Fix ASSET_PATH issue in Jekyll 3.x, issue plusjade/jekyll-bootstrap#290
Browse files Browse the repository at this point in the history
  • Loading branch information
reznoa committed Feb 2, 2016
1 parent 9f61cf3 commit 548b4e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/JB/setup
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,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 %}
{% 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 %}

0 comments on commit 548b4e9

Please sign in to comment.