Skip to content

Commit 15b45c3

Browse files
committed
Closes academicpages#828 with update to put the pages last update in the footer.
1 parent 1eba9ab commit 15b45c3

File tree

3 files changed

+12
-5
lines changed

3 files changed

+12
-5
lines changed

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ source 'https://rubygems.org'
33
group :jekyll_plugins do
44
gem 'jekyll'
55
gem 'jekyll-feed'
6+
gem 'jekyll-last-modified-at'
67
gem 'jekyll-sitemap'
78
gem 'jemoji'
89
gem 'webrick', '~> 1.8'

_config.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -169,10 +169,12 @@ exclude:
169169
- CHANGELOG
170170
- Capfile
171171
- config
172+
- Dockerfile
172173
- Gemfile
173174
- Gruntfile.js
174175
- gulpfile.js
175176
- LICENSE
177+
- local
176178
- log
177179
- node_modules
178180
- package.json*
@@ -290,16 +292,17 @@ sass:
290292
permalink: /:categories/:title/
291293
# paginate: 5 # amount of posts to show
292294
# paginate_path: /page:num/
293-
timezone: America/Los_Angeles # http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
295+
timezone: Etc/UTC # http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
294296

295297

296298
# Plugins
297299
plugins:
298-
- jekyll-paginate
299-
- jekyll-sitemap
300-
- jekyll-gist
301300
- jekyll-feed
301+
- jekyll-gist
302+
- jekyll-last-modified-at
303+
- jekyll-paginate
302304
- jekyll-redirect-from
305+
- jekyll-sitemap
303306
- jemoji
304307

305308
# Mimic GitHub Pages with --safe

_includes/footer.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,7 @@
1919
</div>
2020
{% endif %}
2121

22-
<div class="page__footer-copyright">&copy; {{ site.time | date: '%Y' }} {{ site.name | default: site.title }}. {{ site.data.ui-text[site.locale].powered_by | default: "Powered by" }} <a href="http://jekyllrb.com" rel="nofollow">Jekyll</a> &amp; <a href="https://github.com/academicpages/academicpages.github.io">AcademicPages</a>, a fork of <a href="https://mademistakes.com/work/minimal-mistakes-jekyll-theme/" rel="nofollow">Minimal Mistakes</a>.</div>
22+
<div class="page__footer-copyright">
23+
&copy; {{ site.time | date: '%Y' }} {{ site.name | default: site.title }}, {{ site.data.ui-text[site.locale].powered_by | default: "Powered by" }} <a href="http://jekyllrb.com" rel="nofollow">Jekyll</a> &amp; <a href="https://github.com/academicpages/academicpages.github.io">AcademicPages</a>, a fork of <a href="https://mademistakes.com/work/minimal-mistakes-jekyll-theme/" rel="nofollow">Minimal Mistakes</a>.<br />
24+
This page last updated {{ page.last_modified_at | date: '%Y-%m-%d' }}
25+
</div>

0 commit comments

Comments
 (0)