From aae82fa0a8575fa04de9bbc30e5da45fd660c4d8 Mon Sep 17 00:00:00 2001 From: Jay Hankins Date: Sun, 28 Aug 2022 15:40:46 -0400 Subject: [PATCH] add timeago --- Gemfile | 1 + Gemfile.lock | 4 ++++ _config.yml | 1 + _layouts/note.html | 2 +- 4 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index fc56880..619a8c5 100644 --- a/Gemfile +++ b/Gemfile @@ -6,5 +6,6 @@ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" } gem "jekyll", "~> 4.0" gem "jekyll-last-modified-at", git: "https://github.com/maximevaillancourt/jekyll-last-modified-at", branch: "add-support-for-files-in-git-submodules" +gem 'jekyll-timeago' gem "webrick", "~> 1.7" gem "nokogiri" diff --git a/Gemfile.lock b/Gemfile.lock index 1ebe0ce..245b4cc 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -40,6 +40,8 @@ GEM terminal-table (~> 2.0) jekyll-sass-converter (2.1.0) sassc (> 2.0.1, < 3.0) + jekyll-timeago (0.14.0) + mini_i18n (>= 0.8.0) jekyll-watch (2.2.1) listen (~> 3.0) kramdown (2.3.1) @@ -51,6 +53,7 @@ GEM rb-fsevent (~> 0.10, >= 0.10.3) rb-inotify (~> 0.9, >= 0.9.10) mercenary (0.4.0) + mini_i18n (0.8.0) mini_portile2 (2.8.0) nokogiri (1.13.6) mini_portile2 (~> 2.8.0) @@ -79,6 +82,7 @@ PLATFORMS DEPENDENCIES jekyll (~> 4.0) jekyll-last-modified-at! + jekyll-timeago nokogiri webrick (~> 1.7) diff --git a/_config.yml b/_config.yml index 2a249ed..078e2d3 100644 --- a/_config.yml +++ b/_config.yml @@ -24,6 +24,7 @@ relative_permalinks: false plugins: - jekyll-last-modified-at + - jekyll-timeago sass: sass_dir: _sass diff --git a/_layouts/note.html b/_layouts/note.html index 91c72c8..4a78f94 100644 --- a/_layouts/note.html +++ b/_layouts/note.html @@ -6,7 +6,7 @@ layout: default

{{ page.title }}