Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML Build a Blog with Jekyll and GitHub Pages Building and Customizing the Blog Default Variables

Sarah A. Morrigan
Sarah A. Morrigan
14,329 Points

index.html suddenly disappeared

I just edited my _config.yml file to add default values such as author: and permalink: attributes.

Then I did "jekyll serve" and went to localhost port 4000. The index page for the website inexplicably disappeared! It was not inside _site/ directory either, but instead I found a mysterious file called ":title" ("cat :title | less" shows something that looks like a CSS file.).

Also, the posts and pages no longer seem to pull the CSS file, even though the rendered HTML file shows correct CSS file location in its HEAD area.

What did I do to screw up?

1 Answer

Hi Sarah A. Morrigan :

It sounds like maybe something went wonky in your config file that caused jekyll to build the site in a strange way. I know that I had an issue with spacing/tabbing some stuff that I shouldn't have — the code seems pretty touchy as far as spacing.

If you could post the code that you've got, it would make it much easier for folks to help — see the Markdown Cheatsheet at the bottom of your reply box to see how to post it. :grinning: