Repository is archived
No commit activity in last 3 years
No release in over 3 years
This automatically adds a git commit timestamp of the post/page to the `git-updated` frontmatter key.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Runtime

>= 3.7, < 5.0
 Project Readme

Jekyll Git Updated Gem Version License: MIT

Jekyll Git Updated is a ruby gem for Jekyll static site generator.
This automatically adds a git commit timestamp of the post/page to the git-updated frontmatter key.

Installation

Add this line to your Gemfile:

group :jekyll_plugins do
  gem "jekyll-git-updated"
end

And then execute:

$ bundle

Alternatively install the gem yourself as:

$ gem install jekyll-git-updated

and put this in your _config.yml

plugins:
  - jekyll-git-updated

Usage

Simply reference the frontmatter in your page/layout.
I.E: {{ page.git-updated }}