bundle install
jekyll serve
Now, browse to http://localhost:4000
- Add
jekyll-assets
andbulma-sass
toGemfile
and_config.yml
group :jekyll_plugins do
gem "jekyll-assets"
gem "bulma-sass"
end
plugins:
- jekyll-assets
- bulma-sass
- Import
bulma
in_assets/css/main.scss
@import "bulma";
- Link stylesheet in header(
_includes/head.html
)
<head>
{% asset main.css %}
</head>
Warning!!! Because you are using custom plugin, you need to build it locally instead of building from github repository.
Show details
Plugins on GitHub Pages
[GitHub Pages](https://pages.github.com/) is powered by Jekyll. However, all Pages sites are generated using the `--safe` option to disable custom plugins for security reasons. Unfortunately, this means your plugins won’t work if you’re deploying to GitHub Pages.
You can still use GitHub Pages to publish your site, but you’ll need to convert the site locally and push the generated static files to your GitHub repository instead of the Jekyll source files.
Read more at https://jekyllrb.com/docs/plugins/