plusjade / jekyll-bootstrap

The quickest way to start and publish your Jekyll powered blog. 100% compatible with GitHub pages.
jekyllbootstrap.com
MIT License
3.35k stars 1.71k forks source link

Page layout is broken #308

Open vinhqdang opened 8 years ago

vinhqdang commented 8 years ago

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.

vmfhrmfoaj commented 8 years ago

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.

vinhqdang commented 8 years ago

Thanks a lot @vmfhrmfoaj , but it does not work for me :(

dschinkel commented 8 years ago

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

krusynth commented 8 years ago

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}}.

vinhqdang commented 8 years ago

It’s great, thanks a lot — Best Regards

Vinh

On Jun 2, 2016, at 5:18 PM, Bill Hunt notifications@github.com 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.