Hexo blog build error and the chic theme could not be found - jekyll

When I push my hexo blog to GitHub, it doesn't work.
When I check the build message, the build with Jekyll show github-pages
227|Error: The chic theme could not be found
Of course, my blog contains the chic theme.
Some messages about my blog:
I use Travis CI to build my blog, and my blog files save on hexo branch, the Travis CI builds blog files on the master branch.
my blog link:https://github.com/plusmultiply0/plusmultiply0.github.io
I have searched the Internet to find the solution, but get no, for example, not with remote_theme. Could you help me?
I hope someone could help me solve the problem and help the blog build successfully.

Thanks to good person in v2ex,I found the solution to my problem.
You can add a empty file named .nojekyll to your repo, and everything will be ok.

Related

Jekyll custom hook in `_plugins` folder is not executed

Before we start, I do know custom hooks are not executed by Github pages, I'm suffering this issue locally(bundle exec jekyll serve).
I manage my own Github pages, and I found a great post about Jekyll hook that I wanted to try it out by myself.
I followed the instruction, first created _plugins folder at the root of my repo,
and created my own *.rb file.
But my hook is not executed at all!
I even downloaded the source file of the example blog, but I couldn't notice any difference that might cause this issue.
FYI, local serve of the example blog worked well with all the hooks executed.
If you can help me on this issue, it would be very much appreciated. Here is the WiP commit of my blog.
Thank you.

Editing Jekyll themes for use with Github Pages

I just started working with Github pages and have no prior experience with Jekyll.
I'm trying to edit a github-pages theme to suit my needs. So I cloned it and started editing the default.html file in _layouts. But when I run bundle exec jekyll serve it still generates the original theme's default.html. I even pushed it to the remote and my user website generates the original theme.
The github-pages theme I'm working on is called midnight. And i'm trying to get rid of the nav
Any help would be appreciated

Jekyll theme jekyll-theme-clean-blog wont build on github pages

I downloaded the jekyll-theme-clean-blog theme and successfully built it locally.
Once I move it to github pages, I get the following build error:
Your SCSS file assets/main.scss has an error on line 2: File to import not found or unreadable: ../assets/vendor/startbootstrap-clean-blog/scss/clean-blog.scss. Load paths: _sass /hoosegow/.bundle/ruby/2.7.0/gems/jekyll-theme-primer-0.5.4/_sass /hoosegow/.bundle/ruby/2.7.0/gems/jekyll-theme-primer-0.5.4/_sass.
I added
sass: sass_dir: _sass style: :compressed
to config file, still wont build on github pages.
Any help would be much appreciated.
GitHub Pages only supports a select number of themes (https://pages.github.com/themes/) listed below:
Architect
Cayman
Dinky
Hacker
Leap day
Merlot
Midnight
Minima
Minimal
Modernist
Slate
Tactile
Time machine
The one you've named isn't in that list. Basically this is the same issue as not being able to use Jekyll plugins. The solutions there are to use a different hosting solution, or commit the built output of your site to a repo.

Local `jekyll serve` doesn't match Github

When I run jekyll serve locally, I get the following ouput
local site
Then when I push to Github and host on Github pages, the sidebar links don't work the same way
github pages site
I'm running jekyll 3.1.1 (latest version) while Github Pages depends on 3.0.3. Do I need to uninstall jekyll and install the older version? Or is there something I can do to make my local and Github pages match?
The repo on github is available at (sorry can only post 2 links)
github.com/samarthbhaskar/samarthbhaskar.github.io
With help from Github, I was able to solve this.
There was a whitespace issue in the front matter of my index.md file for the page I was trying to create. I erased and retyped the front matter as:
---
layout: page
title: Movie Reviews
---
... and that did the trick! Hope this answer helps someone else trying to solve the same issue. Now to figure out what might be going on with my Sublime Text 3 settings to cause white space issues.
You need to serve Jekyll with bundler, so it will reproduce the same environment as GitHub Pages does.
Follow the steps I described on this answer
And you should be ok.
Let me know how it goes for you ok?
Hope to have helped!
Additionally, you could force your push to the remote repo on github with a git command in order to override any inconsistencies between the local and remote repositories. But glad this worked out for you!
git push -f

Github pages not updating home page

On my octopress/jekyll blog http://www.railsonmaui.com, after I update an article and push to GitHub pages, the specific blog article is updating, but the home page of blog articles is not updating.
Is there any way to tell GitHub pages to clear the cache on the home page?
Any reason the home page is the only page that has this issue?
I experienced the same issue and found that stopping the Jekyll server
Server running... press ctrl-c to stop
and starting it again
jekyll serve
refreshed my home page
Upgrade your code to octopress v3 and now you have the rake deploy which will build, update & deploy your code to github.
You will have to set it up with:
rake setup_github_pages
# Build and deploy the blog to github
rake deploy
Once using this task you site will be updated with the latest code.
did you run jekyll build after updating?