Antisocial at a glance:
jekyll new
themeCreate a Jekyll site (if you haven't already)
Edit _config.yml
and makes sure jekyll-remote-theme
is under plugins
:
plugins:
- jekyll-remote-theme
Also in _config.yml
, add the following line:
remote_theme: mkropat/jekyll-theme-antisocial
You can now create pages with the page
and post
layouts.
This is the best way I have come up with to work on the theme. Basically, take a site that uses the theme and temporarily modify it like so:
diff --git a/Gemfile b/Gemfile
--- a/Gemfile
+++ b/Gemfile
@@ -1,2 +1,3 @@
source 'https://rubygems.org'
gem 'github-pages'
+gem 'jekyll-theme-antisocial', path: '/SOME/PATH/TO/jekyll-theme-antisocial'
diff --git a/_config.yml b/_config.yml
--- a/_config.yml
+++ b/_config.yml
@@ -4,7 +4,7 @@ plugins:
- jekyll-remote-theme
- jekyll-seo-tag
-remote_theme: mkropat/jekyll-theme-antisocial
+theme: jekyll-theme-antisocial
# Site settings
title: example.com