Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Update _config.yml #1
I tried with another test project and I can't get it to work with the alternative method.
Ah, that's embarrassing. I added the alternative approach at the last minute and I had thought I had tested it deployed to github, but obviously I hadn't, and as you rightly point out it seems the source option is not available when deployed - annoying!
I'll update the readme and blog post to reflect this and will see if there is a fix because I think having a shared template as a submodule is quite useful.
Thanks for finding the bug, and sorry for not having tested it as deployed.
Not at all, that's what open source is all about, isn't it? :-) I think this a excellent idea and implementation that adds value to GitHub.
Obviously GitHub wants user pages to be served from the gh-pages branch so that's probably why it overrides the source setting. Maybe the GitHub developers can be persuaded to accept a user defined source setting if it points to an existing submodule in a project.
Some kind of automatic template generation, similar to GitHub's Automatic Page Generator, could of course make the process more straight forward.