jekyll-bootstrap
jekyll-bootstrap copied to clipboard
Page layout is broken
Hello
I created a Github IO page with Jekyll-Bootstrap at vinhqdang.github.com, but it seems the website is broken.
I set:
layout:page
at the beginning of MD file.
I met the same problem. I fixed this problem by this workaround. It's just work, but I don't know the reason of the problem.
Thanks a lot @vmfhrmfoaj , but it does not work for me :(
is this even supported anymore? The install scripts are also outdated...they don't even have .io in the scripts here: http://jekyllbootstrap.com/usage/jekyll-quick-start.html
As of Jekyll 3 (which is used by GitHub Pages), you'll need to change the workaround to use the new layout
metadata instead of page
.
In _includes/JB/setup
change the line to read:
{% capture ASSET_PATH %}{{ BASE_PATH }}/assets/themes/{{ layout.theme.name }}{% endcapture %}
Instead of {{page.theme.name}}
.
It’s great, thanks a lot — Best Regards
Vinh
On Jun 2, 2016, at 5:18 PM, Bill Hunt [email protected] wrote:
As of Jekyll 3 (which is used by GitHub Pages), you'll need to change the workaround to use the new layout metadata instead of page:
In _includes/JB/setup change the line to read:
{% capture ASSET_PATH %}{{ BASE_PATH }}/assets/themes/{{ layout.theme.name }}{% endcapture %}
Instead of {{page.theme.name}}.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/plusjade/jekyll-bootstrap/issues/308#issuecomment-223324696, or mute the thread https://github.com/notifications/unsubscribe/AEqh6HTSmcNpa-P2BIDtz9SefuLYeo6Oks5qHvRagaJpZM4IKgyJ.