Comments (6)
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.
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.
So every time I work locally or I push my changes to GitHub, I need to modify these settings ?
from bulma-clean-theme.
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.
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.
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)
- Inconsistent version number for release v0.12 HOT 2
- Menubar (and Regular) TOC Not Displaying Title HOT 4
- Include file "image-modal.html" does not render properly HOT 1
- Blog content is empty HOT 4
- Color for the current page number link on the pagination page don't reflect changes in $primary HOT 2
- Navbar Brand HOT 1
- Incompatible kramdown versions HOT 2
- Deprecation Warning: Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0. HOT 1
- Incorporating AdSense into the theme? HOT 1
- successful build and deploy from a subfolder with Github Actions workflow HOT 3
- Add site search functionality HOT 3
- Customize Hero area HOT 2
- Sorry HOT 1
- Dependency version mismatch on Github Pages HOT 3
- Theme ignored after upgrading to v1 HOT 1
- Bug: Not fixing the navbar forces light mode // Feature request: Use automatic dark mode per default, add option to enforce a specific theme HOT 1
- Error pushing a project HOT 3
- SASS build error on GitHub pages HOT 4
- Can't find stylesheet to import HOT 7
- Changing colors of text in navigation bar HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bulma-clean-theme.