DEV Community

Discussion on: 100 Days of Learning - Day 15

 
lfosgett profile image
Lauren Fosgett

Sent your way, thanks!

Thread Thread
 
raymondcamden profile image
Raymond Camden

Ok, I think the issue is that your files/folders are a bit different than they should be. That can totally be on my guide's fault, but look at github.com/cfjedimaster/eleventy-b... and note how in the root, we have .eleventy.js, with the blog folder under. In your zip, you've got _includes and blog at root, with .eleventy.js under blog.

Does that make sense?
Did my guide lead you astray?

Thread Thread
 
lfosgett profile image
Lauren Fosgett

Eureka! That all makes sense. I was trying to use another tip from a different guide related to Browsersync not live updating if there wasn't a body tag in the template, and that's where the _includes and layouts came from. I removed the _includes and layouts I added, moved .eleventy.js and now it's all working!

For the site structure, I think this is where I made my mistake: "Make a blog directory and then a .eleventy.js file that for now only contains"... I think this is user error on my part all around, and I didn't realize I created .eleventy.js inside the blog folder. Your directions make sense, and if I had looked at the guide repo earlier I might have caught this sooner.

Thank you so much for your help, I'm going to carry on with the guide and I'll let you know if anything else trips me up!

Thread Thread
 
raymondcamden profile image
Raymond Camden

Woot! :)