-
Notifications
You must be signed in to change notification settings - Fork 907
Use theme as a Gem
Sylhare edited this page May 24, 2019
·
4 revisions
Here is a simple example on how to use the template as a gem.
Make sure you have Jekyll installed
gem install jekyll bundler
If you have any trouble, check #1
You need to add your content:
- Pictures in
assets\img
- Posts in
_posts
with the correct Jeyll format - Your project pages in
_portfolio
- Any other page and feature pages (using the layout) in
pages
- The
_config.yml
file with all of the right configuration in it.theme: type-on-strap
- The
index.html
page that will be the home of your website
All the rest is already within the Gem and you don't need to tale care of it.
To use type-on-strap as a gem, you first need to install the gem:
- Directly with
gem install type-on-trap
- Using gemfile
Bundle install
Then you can start your website using:
jekyll serve
To use it as a gem with github, you need to add:
remote_theme: sylhare/Type-on-Strap
Powered by Jekyll with Type on Strap