Commit a097acf8 by Barry Warsaw

Slightly reword footer text, and generate the date in ISO 8601 format from the

commit hash.
parent e7af6126
......@@ -72,5 +72,7 @@ SIDEBAR_LINKS = [
]
import subprocess
GIT_HEAD_HASH = subprocess.check_output(['git', 'rev-parse', '--short', 'HEAD'])
DATE = subprocess.check_output(['date'])
GIT_HEAD_HASH = subprocess.check_output(
('git', 'rev-parse', '--short', 'HEAD')).strip()
DATE = subprocess.check_output(
('git', 'show', '-s', '--format=%ci', GIT_HEAD_HASH))
......@@ -155,7 +155,7 @@
<a href="http://getbootstrap.com/">Bootstrap</a>
</span>
<br/>
This site was built from {{ GIT_HEAD_HASH }} commit at {{ DATE }}.
This site was built from commit {{ GIT_HEAD_HASH }} at {{ DATE }}.
</p>
</div>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment