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 Hosting with GitHub Pages Using Your Own Domain Name

I notice that if I put in the baseurl (/projectname) in the config file, my site doesn't pull in my styles. Suggestions?

I'm following the lesson along with my own blog. One thing I'm noticing is that if I leave the baseurl as /nefpress in the config file and then go to my site (nef.press), the the styles go away.

However, when I change the baseurl to "http://nef.press" to match my url in the config file, it works fine.

Are there any potential issues I will encounter if my baseurl and url are the same?


4 Answers

Change the url from "/nefpress/css/bootstrap.min.css" to "css/bootstrap.min.css" and it works fine !

Anika Jaffara
Anika Jaffara
20,364 Points

I'm troubleshooting gh-pages custom domain. I've added my CNAME file in the root, and added both A records with my DNS. Everything is routing, but my site isn't showing up... just the blank Index of / page. Would any of the configurations be different if the original url for my project page was username.com/repositoryname?

Anika Jaffara
Anika Jaffara
20,364 Points

What should the baseurl and url settings be in the the Jekyll config file when setting up a custom domain?

did somebody ever help you? or did you fix it? because I'm having the same issue and could use help Anika Jaffara

Everything looks great and works perfectly in Jekyll project pages, but when I go to custom url, I have no styles and my blog paths are all broken. What's the fix?