Skip to content

Commit

Permalink
Add plugin for last update (#537)
Browse files Browse the repository at this point in the history
* add plugin for last update

* update style and format per Adriana

* remove uwnanted file
  • Loading branch information
kmoscoe authored Nov 13, 2024
1 parent b3ce300 commit 98cb736
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
4 changes: 3 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
3 changes: 3 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -276,6 +278,7 @@ PLATFORMS
DEPENDENCIES
github-pages
jekyll-feed (~> 0.6)
jekyll-last-modified-at
jekyll-redirect-from
jekyll-relative-links
jekyll-tabs
Expand Down
4 changes: 4 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,9 @@
{% endunless %}
{{ content }}
</div>
<div style="text-align:center" id="feedback-form">
<p>
<a target="_blank" href="https://docs.google.com/forms/d/e/1FAIpQLSf23mC17idzIpzg6v4frCh8iWTl9dxeb4iSTVgo0WiBvnv5ZA/viewform?usp=pp_url&entry.871991796={{ page.url }}">
<div style="text-align:center" id="metadata">
<p>
Page last updated: {% last_modified_at %} &#8226; <a target="_blank" href="https://docs.google.com/forms/d/e/1FAIpQLSf23mC17idzIpzg6v4frCh8iWTl9dxeb4iSTVgo0WiBvnv5ZA/viewform?usp=pp_url&entry.871991796={{ page.url }}">
Send feedback about this page
</a>
</p>
Expand Down

0 comments on commit 98cb736

Please sign in to comment.