summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhong Jianxin2016-05-16 15:30:00 +0000
committerZhong Jianxin2016-05-24 06:04:48 +0000
commit85ab569393267e311718d12969b894288a813f12 (patch)
tree5f7b08abfd17b445b1ff816188725a4f2fe40ecc
parentfedce900935a02c7f33b04b4e135b78172c5c37a (diff)
downloadweb-85ab569393267e311718d12969b894288a813f12.tar.gz
Add footer about last updated time
-rw-r--r--Gemfile1
-rw-r--r--_layouts/default.html2
2 files changed, 2 insertions, 1 deletions
diff --git a/Gemfile b/Gemfile
index 6e3e920..abef254 100644
--- a/Gemfile
+++ b/Gemfile
@@ -7,4 +7,5 @@ gem 'rake-jekyll', '~> 1.1.0'
group :jekyll_plugins do
gem "jekyll-asciidoc", '~> 1.0.0'
+ gem 'jekyll-last-modified-at'
end
diff --git a/_layouts/default.html b/_layouts/default.html
index d8e3379..47dbc06 100644
--- a/_layouts/default.html
+++ b/_layouts/default.html
@@ -95,7 +95,7 @@
<hr/>
<div class="row">
<div class="large-12 columns">
- <p>Footer</p>
+ <p>Last updated {{ page.last_modified_at | date: '%Y-%m-%d %H:%M:%S' }}</p>
</div>
</div>
</div>