Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dakutree/jekyll-git-updated
This automatically adds a git commit timestamp of the post/page to the `git-updated` frontmatter key.
https://github.com/dakutree/jekyll-git-updated
jekyll jekyll-plugin
Last synced: 4 months ago
JSON representation
This automatically adds a git commit timestamp of the post/page to the `git-updated` frontmatter key.
- Host: GitHub
- URL: https://github.com/dakutree/jekyll-git-updated
- Owner: DakuTree
- License: mit
- Archived: true
- Created: 2019-10-30T13:32:38.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-10-30T13:33:28.000Z (about 5 years ago)
- Last Synced: 2024-09-30T15:49:46.302Z (4 months ago)
- Topics: jekyll, jekyll-plugin
- Language: Ruby
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Jekyll Git Updated [![Gem Version](https://badge.fury.io/rb/jekyll-git-updated.svg)](https://badge.fury.io/rb/jekyll-git-updated) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
**Jekyll Git Updated** is a ruby gem for [Jekyll](https://jekyllrb.com/) 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:```ruby
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``
```yaml
plugins:
- jekyll-git-updated
```## Usage
Simply reference the frontmatter in your page/layout.
I.E: `{{ page.git-updated }}`