Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion _posts/2012-01-25-gh-pages.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Any GitHub repository with a "gh-pages" branch has a website, usually in the for
What if we wanted a 'root' website (username.github.com) rather than sub-projects? Easy. Create a new repo on GitHub named "yourname.github.com". For Code52, that's [code52.github.com](https://github.com/Code52/code52.github.com/).


There are some neat tricks you can do to make that one of your own domains. If a repo has a CNAME file ([see our example](https://github.com/Code52/code52.github.com/blob/master/CNAME)) GitHub sets the canonical url to the value in that file. That can be done on individual projects, but we've done it on the "root" gh-pages for Code52, so all projects gh-pages appear as code52.org/<projectname>/
There are some neat tricks you can do to make that one of your own domains. If a repo has a CNAME file ([see our example](https://github.com/Code52/code52.github.com/blob/master/CNAME)) GitHub sets the canonical url to the value in that file. That can be done on individual projects, but we've done it on the "root" gh-pages for Code52, so all projects gh-pages appear as code52.org/&lt;projectname&gt;/

##Jekyll
So far we've just been modifying the gh-pages template (you can either create a gh-pages repo manually or click a button and GitHub creates a page from a template, giving you basic project info), but all gh-pages can be processed using [Jekyll](https://github.com/mojombo/jekyll).
Expand Down