I just finished the step-by-step guide, which worked great on the local server, but when I uploaded the project to a directory on a remote server, after using
JEKYLL_ENV=production bundle exec jekyll build, all of the links point to the server root instead of the directory I uploaded to. Of course, that means none of the links to anything work.
Why doesn’t the upload respect the uploaded directory as the site’s root? How is it dropping down a directory level?
I added permalink: /markdown/ (the site directory name) to _config.yml, but that does nothing. I’m really not sure what permalinks are supposed to do, but it was something to try.
I was expecting the site build to maintain the folder structure rather than somehow redirect to the root directory.
Any help would be appreciated.