2.0 KiB
2.0 KiB
title |
---|
About Garth |
A stupidly simple theme for Jekyll, using the official Jekyll theme implementation.
Installation
As a Jekyll theme
- Add
gem "garth-jekyll-theme"
to yourGemfile
to add the theme as a dependancy - Run the command
bundle install
in the root of project to install the theme and its dependancies - Add
theme: garth-jekyll-theme
to your_config.yml
file to set the site theme - Run
bundle exec jekyll serve
to build and serve your site - Done! Use the example
_config.yml
file to set site-wide options
As a GitHub Pages remote theme
- Add
gem "jekyll-remote-theme"
to yourGemfile
to add the theme as a dependancy - Run the command
bundle install
in the root of project to install the jekyll remote theme gem as a dependancy - Add
jekyll-remote-theme
to the list ofplugins
in your_config.yml
file - Add
remote_theme: daviddarnes/garth
to your_config.yml
file to set the site theme - Run
bundle exec jekyll serve
to build and serve your site - Done! Use the example
_config.yml
file to set site-wide options
As a Boilerplate / Fork
(deprecated, not recommended)
- Fork the repo
- Replace the
Gemfile
with one stating all the gems used in your project - Delete the following unnecessary files/folders:
CODE_OF_CONDUCT.md
,CONTRIBUTING.md
,LICENSE
,screenshot.png
,CNAME
andgarth-jekyll-theme.gemspec
- Run the command
bundle install
in the root of project to install the jekyll remote theme gem as a dependancy - Run
bundle exec jekyll serve
to build and serve your site - Done! Use the example
_config.yml
file to set site-wide options