Skip to content

Commit

Permalink
Fix ASSET_PATH for post pages on Jekyll 3.0
Browse files Browse the repository at this point in the history
Post pages were broken with Jekyll 3.0, fix this by applying
this patch:
plusjade/jekyll-bootstrap@c3d3cbe

issues:
plusjade/jekyll-bootstrap#113
plusjade/jekyll-bootstrap#290
  • Loading branch information
mrpippy committed Feb 29, 2016
1 parent fc7f0ef commit d085150
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _includes/JB/setup
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
{% 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 %}
{% endcapture %}{% assign jbcache = nil %}

0 comments on commit d085150

Please sign in to comment.