jekyll 3.9.0 | Error: The theme could not be found.
-
Trying to setup a test page. I get this error
- created page with index.html and pushed. This worked and shows up on cloudron instance.
- downloaded a theme http://jekyllthemes.org/themes/no-style-please/
- removed test index.html from before, unziped theme into repository directory, pushed, get error:
riting objects: 100% (42/42), 429.22 KiB | 18.66 MiB/s, done. Total 42 (delta 2), reused 0 (delta 0), pack-reused 0 remote: ================================== remote: Publishing website remote: ================================== remote: => Cleanup build path /run/build remote: => Checkout repo into /run/build remote: => Remove Gemfile.lock remote: => jekyll build remote: Configuration file: /run/build/_config.yml remote: jekyll 3.9.0 | Error: The no-style-please theme could not be found. To https://www.CLOUD/_git/page ! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to 'https://www.CLOUD/_git/page'
Also worth noting is that the original test.html would not work when the github pages cloudron app is set to take over the root domain. I needed to set it up to a www subdomain first. Not sure if this is an issue with using cloudflare for dns. But anyway.
-
I can confirm it is not working. The root cause seems to be that the gem for the theme is not installed in the app. I couldn't find out so far how we could make the app so it allows for themes to be installed via bundle/Gemfile.
For the issue installing on the apex domain, I was not able to reproduce. Does any other app work on that one for you?
-
@girish said:
AFAIK, GitHub pages only supports the themes listed in https://pages.github.com/themes/ . You cannot put arbitrary jekyll themes. This app is built based on the GitHub pages gem which contains the above hardcoded them list.
Thank you for the clarification. I will stick with those themes than.
@nebulon said:
For the issue installing on the apex domain, I was not able to reproduce. Does any other app work on that one for you?
I did not try another app as apex domain. However, I did now try github pages again as apex and it worked. Perhaps I did something wrong the first time
-
@annaooo you could try surfer if you’re wanting to host a static site: https://video.lahijiapps.dev/videos/watch/3540b0bb-553f-43bb-8087-fa8e26fd0d46
Are you dead set on Jekyll and GitHub pages?
-
@atrilahiji saw surfer as an option. not deadset on pages. just thought it was an interesting option to explore
-
Yeah I've often found the GitHub Pages app clunky and hard to use. Add in the features of Surfer and I really don't see a need to have GitHub Pages on here. But yeah check out Surfer for sure.