Many thanks for reaching guys. I was trying to use this old Jekyll theme East by Aspire Themes to set up a brand new blog, ideally tiny with integration of #disqus comments, can be hosted on FREE Github Pages. And I came across this theme package via Envato.
According to the git community, applying any theme to your precious Jekyll blog can be a royal pain. So is this one.
The issue with this theme package is that it was developed back in 2018 (still, I paid for it. buy at your own risk) and there wasn’t a Ver 4.2 Jekyll thing what-so-ever at the time, let alone a bounch of OLD depandencies required for supporting this theme running.
Tracking it back to the developer, the Aspire Themes, it appears that they have now completely abandoned the Jekyll line. For instance the “East” theme package is only available for Ghost users amoung their products. I could not find a single mentioning of Jekyll across their website.
Time to give up? No. I wanted something simple and allowing me to write markdowns to publish, this looks like the one.
Although as a genuine newbie of Ruby/Jekyll, I was lucky enough to bring this 3-years old theme back to life for Jekyll Ver 4.2 ONLY after a few debugs and trouble-shotting, I mean googling, stack-overflow, dev.io, official Jekyll community (credit to michaelcurrin), etc. Here it is.
1. The solution
1.1. delete Gemfile.lock
Deprecation: You appear to have pagination turned on, but you haven't included the `jekyll-paginate` gem. Ensure you have `plugins: [jekyll-paginate]` in your configuration file.
1.2. fix the deprecated pagination issue
p.s. will look into again in the future if it runs into some issues
1.2.1. add in _config.yml file with
# don't need to as the original config included this gems: - jekyll-paginate paginate: 10
1.2.2. add in Gemfile file with
group :jekyll_plugins do gem "jekyll-paginate" end
1.3. in Terminal try:
p.s. I am in a newly setup macOS on Apple Silicon
/Users/xxxxx/.gem/ruby/3.0.0/gems/jekyll-4.2.0/lib/jekyll/commands/serve/servlet.rb:3:in `require': cannot load such file -- webrick (LoadError)
1.4. add webrick to bundle (in this theme build?)
bundle add webrick
1.5. finally rebuild with success!
bundle install bundle exec jekyll serve
2.1. Original discussion that helped
2.2. Publish it to Github Pages
- Q: How to find and replace every nth occurance in vscode?
for example add a
rubyhightlight for all code-blocks in this blog by adding a
rubytag following the beginning [```ruby]
- A: It takes three steps,
- replace with