mmistakes / jekyll-theme-skinny-bones

A Jekyll starter with a variety of flexible layouts and components.
https://mmistakes.github.io/jekyll-theme-skinny-bones
MIT License
804 stars 906 forks source link

Sample post needed #3

Closed peterennis closed 10 years ago

peterennis commented 10 years ago

Running on Windows 8.1 The site comes up but layout is strange and I have not been able to debug. I loaded a welcome Jekyll post but it is not aligned. Layout was change from post to default but there must be something else needed in the header. I read the getting started site but still got stuck. How do I change the items marked below? I would like to modify the icons and behavior. I do not want caps forced in the title.

This error: Liquid Exception: cannot load such file -- yajl/2.1/yajl in _posts/2014-10-03- welcome-to-jekyll.md

was fixed by making highlights: false

capture118

mmistakes commented 10 years ago

Looks to me you need to add more sample content. For starters you haven't added any navigation links so most of the header is blank, and I'm guessing if you click on the "hamburger icon" in the upper right there won't be anything in there either.

Since you only have one post added that's why there is a big blank space to the right. If you add more posts they will float to the right on this index page. If you click on the "Welcome to Jekyll" link that will go the post page which should look more full than this bare index.

To remove the uppercase from the "site title" you'll have to modify the Sass partials. I have a declaration on that class to force it uppercase... text-transform: uppercase;.

The Liquid error is probably related to syntax highlighting in Jekyll. My guess is Pygments.rb didn't install properly and Jekyll is barfing on some liquid tags that enable code highlighting in that post.

mmistakes commented 10 years ago

Also take a look at the gh-pages branch of Skinny Bones. I have a bunch of sample posts, menu data, etc in there if you want to copy them into your repo for testing or to see how things are arranged.

https://github.com/mmistakes/skinny-bones-jekyll/tree/gh-pages

peterennis commented 10 years ago

Will do. Thanks!

Gregliest commented 10 years ago

Ah interesting, any reason this is on a branch and not on master? I didn't find this until after spending a few hours recreating the post folder structure and modifying the navigation files. It would be awesome to mention the existence of these examples in the readme and maybe on the demo website as well. Great theme, thanks for putting this together.

mmistakes commented 10 years ago

I took the sample posts and pages out of master to make for a "cleaner" start. In my other themes I left the sample posts and other data in and I found it made things harder for those upgrading or "installing" it on top of existing Jekyll sites.

Since the gh-pages branch powers the Skinny Bones demo site that makes for a logical place for sample posts to live. This way it doesn't impact upgraders as much who don't want to mess with resolving a ton of merge conflicts.

Good suggestion about mentioning the sample files can be found on the branch. I assumed it was common knowledge that the source files for projects hosted on Github can generally be found under a gh-pages branch. My bad 😉

On Friday, October 10, 2014, Greg Lee notifications@github.com wrote:

Ah interesting, any reason this is on a branch and not on master? I didn't find this until after spending a few hours recreating the post folder structure and modifying the navigation files. It would be awesome to mention the existence of these examples in the readme and maybe on the demo website as well. Great theme, thanks for putting this together.

— Reply to this email directly or view it on GitHub https://github.com/mmistakes/skinny-bones-jekyll/issues/3#issuecomment-58727372 .