It’s possible I’m butchering the terminology, although what you said did result in me discovering something important.
When I say “host” what I’m actually doing is using the jekyll serve command and visiting the site at localhost:4000 in the tablet web browser, which I expect would interpret “/” as the root of the site. That said, what I discovered is that ‘jekyll serve’ doesn’t work on my laptop either. I hadn’t realized that, and after tinkering around I’ve managed to work out the following.
-
The Github pages instructions state
To create a User Pages site, name the repository using the naming scheme
<username>.github.io.This isn’t actually needed, you can set it up in options. But it’s what I did.
-
The baseurl in _config.yaml must match this repository name. Ex:
/idtx314.github.io -
The url format for a github page is
https://<username>.github.io/<repository_name>/
Of course, this leads to doubling if you followed that naming instruction. Ex:
https://idtx314.github.io/idtx314.github.io/ -
At some point, while trying to make my url prettier, I set my baseurl to just “/”. I don’t really know why this worked, but it did, and my website url is:
https://idtx314.github.io
Only trouble (I’m aware of) is that doing this breaks jekyll serve.
And so we have discovered the manner in which I dug my own grave.
I’ve sent that url out with job applications. So for the moment, I’ll “solve” the problem by just modifying the baseurl whenever I update the tablet’s copy of the repository and never push those changes. Later, maybe I can use a custom domain to redirect traffic from the older address.
Thank you for being around to offer expertise! You made this process a lot easier.