From 98cb7360b6ffabe11f46ac1de8c48a1d26dc57ef Mon Sep 17 00:00:00 2001 From: kmoscoe <165203920+kmoscoe@users.noreply.github.com> Date: Tue, 12 Nov 2024 17:34:58 -0800 Subject: [PATCH] Add plugin for last update (#537) * add plugin for last update * update style and format per Adriana * remove uwnanted file --- Gemfile | 4 +++- Gemfile.lock | 3 +++ _config.yml | 4 ++++ _layouts/default.html | 6 +++--- 4 files changed, 13 insertions(+), 4 deletions(-) diff --git a/Gemfile b/Gemfile index b8ad9ffbd..6d407df0e 100644 --- a/Gemfile +++ b/Gemfile @@ -8,7 +8,7 @@ source "https://rubygems.org" # # To upgrade, run `bundle update github-pages`. gem "github-pages", group: :jekyll_plugins -gem 'jekyll-redirect-from' + group :jekyll_plugins do gem "jekyll-feed", "~> 0.6" @@ -17,6 +17,8 @@ end group :jekyll_plugins do gem "jekyll-tabs" gem "jekyll-relative-links" + gem 'jekyll-redirect-from' + gem "jekyll-last-modified-at" end gem "webrick", "~> 1.8" diff --git a/Gemfile.lock b/Gemfile.lock index e772e33a5..03af7b029 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -135,6 +135,8 @@ GEM octokit (~> 4.0, != 4.4.0) jekyll-include-cache (0.2.1) jekyll (>= 3.7, < 5.0) + jekyll-last-modified-at (1.3.2) + jekyll (>= 3.7, < 5.0) jekyll-mentions (1.6.0) html-pipeline (~> 2.3) jekyll (>= 3.7, < 5.0) @@ -276,6 +278,7 @@ PLATFORMS DEPENDENCIES github-pages jekyll-feed (~> 0.6) + jekyll-last-modified-at jekyll-redirect-from jekyll-relative-links jekyll-tabs diff --git a/_config.yml b/_config.yml index 35e0d1e4a..f479a1ab8 100644 --- a/_config.yml +++ b/_config.yml @@ -26,6 +26,10 @@ plugins: - jekyll-redirect-from - jekyll-tabs - jekyll-relative-links + - jekyll-last-modified-at + +last-modified-at: + date-format: '%B %d, %Y' sass: style: compressed diff --git a/_layouts/default.html b/_layouts/default.html index 537d65498..5b28ee8f0 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -99,9 +99,9 @@ {% endunless %} {{ content }} -