code-quality

Hosting Jekyll Blog for Your Github Project

hosting jekyll blog for your github project

Hosting Jekyll Blog for Your Github Project

Note: this is not complete tutorial for hosting jekyll blog

If you are hosting jekyll blog for a project then by default rule of github page it will be hosted under http://<username>.github.io/<project-name>

The appropriate setting for this in your jekyll’s config file i.e. _config.yml would be:

baseurl: "/project-name" # the subpath of your site, e.g. /blog/
url: "http://username.github.io" # the base hostname & protocol for your site

Missing the trailing slash in baseurl won’t locate resource properly and you may see site with no css applied. This may be frustrating while blog will be working fine in local.

About the author

Prakash Poudel Sharma

Engineering Manager · Product Owner · Varicon

Engineering Manager at Varicon, leading the Onboarding squad as Product Owner. Eleven years of building software — first as a programmer, then as a founder, now sharpening the product craft from the inside of a focused team.

Keep reading

More on this

Join the conversation0 comments

What did you take away?

Thoughts, pushback, or a story of your own? Drop a reply below — I read every one.

Comments are powered by Disqus. By posting you agree to theirterms.

0:000:00