jekyll-version-plugin

By rob-murray

A Liquid tag plugin that renders a version identifier for your Jekyll site sourced from the git repository containing your code

To install, add this to your Gemfile:

gem "jekyll-version-plugin"

and run bundle install. To use, run Jekyll with bundle exec preceding it:

$ bundle exec jekyll build
$ bundle exec jekyll serve

Source code