Skip to content

Instantly share code, notes, and snippets.

@benhowdle89
Last active December 21, 2015 06:49
Show Gist options
  • Save benhowdle89/6266821 to your computer and use it in GitHub Desktop.
Save benhowdle89/6266821 to your computer and use it in GitHub Desktop.
Nested GH-pages
So, I create a gh-pages on my main account: benhowdle89.github.com repo and
point my domain at it http://benhowdle.im. I then create gh-pages in one of
my repos: so, http://benhowdle.im/svgeezy will point at my repo
benhowdle.github.com/svgeezy. That's all good.
HOWEVER.
What would happen if I create a folder in my jekyll site at the root,
ie. in benhowdle.github.com called "svgeezy"?
What will http://benhowdle.im/svgeezy point to, the root gh-pages'
folder "svgeezy" or my repo's GH-pages at benhowdle.github.com/svgeezy?
@Jonic
Copy link

Jonic commented Aug 19, 2013

Try it and see what happens ;) I'm pretty sure gh-pages will act as the document root, though. They'll have thought of that when implementing Github Pages, surely!

@caleuanhopkins
Copy link

@Jonic +1 to this advice. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment