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 YAML Front Matter

Replacing old webconf folder with the new one

Before the "YAML Front Matter" video, we were working on the default Jekyll theme which Jekyll generated for us.

In this new section, Guil told us to replace the old webconfs folder with the new one in the download zip file. However, I'm not sure which webconf folder to use in order to follow along with the video since there are 9 folders labeled v1...v9 each with their own webconf folder.

After dabbling around for a bit - I discovered that I needed to replace the original 'webconf' folder with the 'webconf' folder located inside of the 'v2' folder.

Happy Treehousing!

6 Answers

Guil Hernandez
STAFF
Guil Hernandez
Treehouse Teacher

Hey Clifford Fajardo,

Yep, it's the folder in the latest project files for stage 2. Sorry for the confusion. :)

Guil

ignacio merino
ignacio merino
Courses Plus Student 1,214 Points

Hi Guil Hernandez and Clifford Fajardo,

I am trying to do the same...but no dice. It says I have errors when I replace the old file with the new. What can I do?? I really like Jekyll so far but this has been a bit of a stomach ache. (I have gone over the videos several times...tried several things...but no luck.)

Thanks

PS this is what I get when I replace the file: jekyll 2.5.3 | Error: No such file or directory - getcwd

Guil Hernandez
STAFF
Guil Hernandez
Treehouse Teacher

Hey ignacio merino,

Since you replaced the folder, you need to make sure you cd out of the old folder in the command line, then cd back into the new one.

Navigate out of the old folder:

$ cd ..

Then navigate into the new one:

$ cd webconfs/

...and run jekyll serve.

Hope this helps!

I'm spending ages trying to sort this i've taken the steps above but still get this error: Conversion error: Jekyll::Converters::Scss encountered an error while converting 'css/main.scss': Invalid CSS after " grey": expected ")", was ": (" on line 43

Sorted it after googling the error i found this post on Treehouse forum https://goo.gl/Epg2XM "gem update sass"

I do not understand what's going on here...how do I tell it to go into version 2 folder for the webconfs file? Can someone give more explicit directions for this?

I tried "cd v2/webconfs" then jekyll serve, but the blog looks the same. I'm really not sure what the direction for getting into the V2 folder is.

Guil Hernandez
Guil Hernandez
Treehouse Teacher

Hi @rachaelallison,

Sorry for the confusion. For this stage, download the latest project files and start with the "video-1" folder -- I just renamed each folder.

Each video's folder includes the start files and the final files. For this video, you can place video-1's webconfs folder on your desktop and start using it from there.

Hope this helps. :)

Hey Guil,

thanks so much for this response!

I think I got confused because I was using your steps to create my own site. But, when I downloaded your files, it got tripped up because I then needed to use those files to create the exampe site for the course. So I'm going back through it all now, just making your webconfs site, then I'll make my own later.

thanks for the response!

Rachael