vscode-jekyll-template

Jekyll Project Template

A modern GitHub template repository for building Jekyll plugins and sites with best practices.

This template provides a pre-configured development environment for working on Jekyll plugins or projects. It includes:

🚀 Getting Started

Use This Template

Click “Use this template” on GitHub to create your own repository based on this setup.

Then:

git clone https://github.com/YOUR_USERNAME/YOUR_REPO
cd YOUR_REPO

Required Secrets

To enable automated releases, set the following repository secrets:

PR_TOKEN: a personal access token with repo and workflow scopes (used to create/update draft PRs)

RUBYGEMS_API_KEY: your RubyGems API key (used to publish releases)


Repository setup

Additional repository options:

General->Pull Requests

Rules->Rulesets

Actions->General

Pages

Development Environment

VS Code + DevContainer

If you use VS Code and have the Dev Containers extension:

  1. Open the project in VS Code.
  2. You’ll be prompted to “Reopen in Container”.
  3. Everything (Ruby, Bundler, Jekyll) is preinstalled and ready to go.

Testing

Run tests with:

bundle exec rspec          # Ruby tests

Or use VS Code tasks:

CI will matrix test across Ruby and Jekyll versions via GitHub Actions.

Release Workflow

Use the included release.sh script:

./release.sh --dry-run    # Simulate release
./release.sh              # Build and push gem to RubyGems

CI will:

Dependency Management

Dependencies are managed with Bundler:

bundle install

Dependabot is configured to automatically update:

License

MIT