Contents
jekyll theme
before setting jekyll theme, jekyll have to be installed and a basic project must be created. If you don’t install jekyll or create the project, check the previous blog post jekyll installation.
jekyll has basically theme setting function like wordpress. Here is introducing how to set a theme via how to set the theme to our blog.
Find a theme
- First, let’s find a theme which you like.
- Free theme site: http://jekyllthemes.org/
- Theme which we use: Clean Blog
Theme installation
There are two ways to install a theme
- Install via Gem
- Download a theme file
Install via Gem
- Edit
Gemfile
file
gem "jekyll-theme-clean-blog"
- Edit
_config.yml
file
theme: jekyll-theme-clean-blog
- Install the theme
bundle install
- Check it
bundle exec jekyll serve
If you run jekyll, you can see the new theme blog.
Download a theme file
You can set the theme by installing it via Gem. However we wanted to make it more freely, so we decided to use the way to download theme files.
Go to the theme github page: startbootstrap-clean-blog-jekyll theme
Click
Clone or download
button for downloading.Unzip it and copy files to your project.
Check it
bundle exec jekyll serve
If you run jekyll, you can see the new theme blog.
How to use the theme
- Install via Gem
- If you install the theme by Gem, see the detail how to use the theme in the theme site(Clean Blog)
- Almost themes introduce how to install and use, so if you want to make quickly, use Gem installation.
- Download a theme file
- We set our project by downloading the theme file way to edit it more freely.
- Check next blog post Directory structure.
Reference
- Free theme site: http://jekyllthemes.org/
- Clean Blog: https://github.com/BlackrockDigital/startbootstrap-clean-blog-jekyll
- jekyll homepage: https://jekyllrb.com/docs/structure/
Was my blog helpful? Please leave a comment at the bottom. it will be a great help to me!
App promotion
Deku
.Deku
created the applications with Flutter.If you have interested, please try to download them for free.