1

I have a jekyll blog at https://github.com/alkamid/alkamid.github.io/ that is working fine under http://alkamid.com. I would like to add another blog that would be available at http://alkamid.com/travel.

Following these instructions I created a gh-pages branch and added baseurl: /travel to my _config.yml. I then pushed the branch to my github repo and expected to see the new blog at alkamid.com/travel, but all I get is a 404.

Does this setup make sense at all? If so, what should I do more to achieve the desired effect?

PS Someone asked the same question in a comment to another question, but the answer below it is not clear to me.

Community
  • 1
  • 1
alkamid
  • 6,970
  • 4
  • 28
  • 39

1 Answers1

1

alkamid.github.io is a user repository, github pages looks for file to publish in master branch. Any additionnal gh-pages branch will be ignored.

To achieve your goal : just create a travel repository and simply push code for you second blog in gh-pages branch.

See github pages documentation about this particular problem.

David Jacquel
  • 51,670
  • 6
  • 121
  • 147