Installation
Option A — Use the template (recommended)
The fastest way to get started:
- Go to primer2-template and click Use this template → Create a new repository
- In your new repo, go to Settings → Pages and set Source to GitHub Actions
- Edit
_config.ymlwith your site title and description - Push a change — your site deploys automatically
Option B — Add to an existing site
Add to your site’s _config.yml:
remote_theme: bagustris/primer2-theme
plugins:
- jekyll-remote-theme
- jekyll-seo-tag
Add to your Gemfile:
gem "github-pages", group: :jekyll_plugins
gem "jekyll-remote-theme"
Then run:
bundle install
bundle exec jekyll serve
Requirements
- Jekyll 3.5–4.x
- Ruby 2.4+
- Works with GitHub Pages out of the box (no custom build step needed)