mirror of
https://github.com/BretFisher/jekyll-serve.git
synced 2026-07-22 13:53:45 -04:00
Changing theme seems to break jekyll? #28
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Waldorf3 on GitHub (Jun 10, 2022).
So I run the first docker command to create the site, then edit the _config.yml file to change the theme, then start the docker-compose.yml - but now it breaks.
I am running a lot of other docker containers in my homelab, but never had to run two different as here so I probably don't quite understand how they relate to each other? Help?
@BretFisher commented on GitHub (Jun 15, 2022):
Hmm, not sure. I don't know what commands you are running, or the exact error. I assume it's a jekyll issue, so I'd ask if you are able to get it working without docker.
@Waldorf3 commented on GitHub (Jun 17, 2022):
I'm just following your instructions to setup the site, that works ok. Then I change the theme in the _config.yml file like I explained, but when I up the docker-compose.yml again it throws an error. I guess my question is, how do you change theme for a jekyll site with docker.
@BretFisher commented on GitHub (Jun 17, 2022):
What's the exact error?
Do you have a repo that I can reproduce the problem with?
@derek-adair commented on GitHub (Aug 12, 2022):
@Waldorf3 You'll have better luck asking questions in forums like this if you provide more context. Generally speaking when asking for help from complete strangers it's good to provide at least the error you are running into, along with the relevant code. It's likely you have an error in your _config.yml or your theme.
While it is almost certainly not the issue - you should check out the documentation on Networking within Docker.... as it COULD be... depending on your error.
Cheers!
@aaronwatson commented on GitHub (Aug 22, 2022):
If I had to guess, it sounds like you need to install the theme. If it is gem-based, follow the instructions here.