Skip to content
This repository has been archived by the owner on Apr 16, 2021. It is now read-only.

This automatically adds a git commit timestamp of the post/page to the `git-updated` frontmatter key.

License

Notifications You must be signed in to change notification settings

DakuTree/jekyll-git-updated

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 }}

About

This automatically adds a git commit timestamp of the post/page to the `git-updated` frontmatter key.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages