Coder Social home page Coder Social logo

Comments (6)

chrisrhymes avatar chrisrhymes commented on August 26, 2024 1

Thanks for bearing with me.

It seems you can remove the need for theme: bulma-clean-theme in your _config.yml file completely if you add gem 'github-pages', group: :jekyll_plugins to your Gemfile and then add github-pages to your plugins in _config.yml

plugins:
  - jekyll-sitemap
  - jekyll-paginate
  - jekyll-redirect-from
  - github-pages

Then run bundle update.

Now when you run bundle exec jekyll serve locally it should build using the specified remote_theme as per GitHub Pages build.

Generating... 
Remote Theme: Using theme chrisrhymes/bulma-clean-theme
           done in 4.43 seconds.

from bulma-clean-theme.

chrisrhymes avatar chrisrhymes commented on August 26, 2024

When working locally I set my _config.yml as follows with both remote_theme and theme.

theme: bulma-clean-theme
remote_theme: chrisrhymes/bulma-clean-theme

and when I push to github pages I comment out the theme to avoid getting the warning email, but leave the remote_theme setting

#theme: bulma-clean-theme
remote_theme: chrisrhymes/bulma-clean-theme

I contacted github pages support about this in February this year and they said to use github-pages gem to resolve the issue, but at that time the gem required an old version of Jekyll. It looks like the latest version of github-pages gem now uses Jekyll 3.8.5.

from bulma-clean-theme.

Funeoz avatar Funeoz commented on August 26, 2024

So every time I work locally or I push my changes to GitHub, I need to modify these settings ?

from bulma-clean-theme.

chrisrhymes avatar chrisrhymes commented on August 26, 2024

This is what I do currently but it’s not ideal. I will try and add GitHub pages gem to a test site this weekend to see if this resolves the need for changing settings.

from bulma-clean-theme.

Funeoz avatar Funeoz commented on August 26, 2024

Okay, so I tried it and it seems to be working. But I get an error when running bundle exec jekyll serve: Invalid theme folder: _sass.
Is this folder needed or not ?

from bulma-clean-theme.

chrisrhymes avatar chrisrhymes commented on August 26, 2024

Glad its working for you.
For the invalid theme folder message, it looks like this is a warning, rather than an error, from Jekyll when using a remote_theme instead of theme.
jekyll/jekyll#7630

from bulma-clean-theme.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.