You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _posts/2012-01-25-gh-pages.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ Any GitHub repository with a "gh-pages" branch has a website, usually in the for
13
13
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/).
14
14
15
15
16
-
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>/
16
+
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>/
17
17
18
18
##Jekyll
19
19
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).
0 commit comments