pages-themes / minimal

Minimal is a Jekyll theme for GitHub Pages
https://pages-themes.github.io/minimal/
Creative Commons Zero v1.0 Universal
1.55k stars 5.94k forks source link

How to change theme from default `minima` to this? #155

Open sonictl opened 2 years ago

sonictl commented 2 years ago

Hello, I'm a newbie of jekyll blog system. I created blog folder by:

cd ~ jekyll new myBlog bundle install bundle exec jekyll serve

So I can preview the website at 127.0.0.1:4000

However, when I try to change the default minima theme by following the readme.md. I met errors when running jekyll serve command.

In detail, I did the operations below:

  1. edit the _config.yml by adding the lines below:
    remote_theme: pages-themes/minimal@v0.2.0
    - jekyll-remote-theme # add this line to the plugins list, cuz I already have one
  2. change the theme config in _config.yml as:
    theme: minimal
  3. add the gem line in Gemfile:
    
    gem "github-pages", group: :jekyll_plugins

4. Run the `bundle install` at the path of `~/myBlog`
   This step may meet error about version confilict.
   I fix these errors by removing some version words in Gemfile

5. Run the `bundle exec jekyll serve`
   I meet different types of errors.

Is there any standard steps about changing the jekyll theme for newbie?

 **Thank you very much** and I spent one whole day for changing theme for jekyll! I feel very frustrated now :(
gmgchow commented 2 years ago

@sonictl Did you ever resolve this issue? I am running into the same problems so it would be helpful if you could share your solution!

sonictl commented 2 years ago

@sonictl Did you ever resolve this issue? I am running into the same problems so it would be helpful if you could share your solution!

I tried, but finally give it up. Fiddling with this problem can lead to new problems or even breakdown of the blogging system. Considering the high cost, let it go.