jekyll-bootstrap icon indicating copy to clipboard operation
jekyll-bootstrap copied to clipboard

Page layout is broken

Open vinhqdang opened this issue 8 years ago • 5 comments

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.

vinhqdang avatar Apr 19 '16 09:04 vinhqdang

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.

vmfhrmfoaj avatar Apr 27 '16 15:04 vmfhrmfoaj

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

vinhqdang avatar Apr 27 '16 15:04 vinhqdang

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

dschinkel avatar May 23 '16 17:05 dschinkel

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

krusynth avatar Jun 02 '16 15:06 krusynth

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.

vinhqdang avatar Jun 02 '16 15:06 vinhqdang