For from Type-on-Strap
- Fork and clone the Type on Strap repo:
git clone https://github.com/Sylhare/Type-on-Strap.git
- Install Jekyll:
gem install jekyll
, check #1 if you have a problem. - Install the theme's dependencies:
bundle install
- Customize the theme
- GitHub Page: update
_config.yml
- GitHub Page: update
- Run the Jekyll server:
bundle exec jekyll serve
You can use Type-on-strap as a gem.
Ruby Gem Method Add this line to your Jekyll site's Gemfile (or create one):
gem "type-on-strap"
Add this line to your Jekyll site's _config.yml
file:
theme: type-on-strap
Then run Bundler to install the theme gem and dependencies:
bundle install
Then you can start adding content like:
- Add a
index.html
file - Add the feature page you want. (ex: as it is already in
pages
) - Add posts in
_posts
and_portfolio
to be displayed
Now you can use any theme gem with GitHub pages with 29/11/2017 Github Pages Broadcast.
For that remove all theme:
attributes from _config.yml
and add instead:
remote_theme: sylhare/Type-on-Strap