janispagel.de

Source code for https://janispagel.de
git clone git://git.janispagel.de/janispagel.de.git
Log | Files | Refs | README | LICENSE

commit 81fad56cf7fadee59ee84c63e8399d3c0f24839f
parent 7cf847cc67eb4f6c515a62c3b6080ad10bc0ec98
Author: Janis Pagel <janis.pagel@ims.uni-stuttgart.de>
Date:   Fri, 11 Dec 2020 11:23:31 +0100

Specify current date in footer for all pages

Last modified does not work correctly when the page gets updated by
pulling data from yaml files etc.

Diffstat:
M_config.yml | 4++--
M_includes/footer.html | 2+-
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/_config.yml b/_config.yml @@ -39,8 +39,8 @@ collections: output: true # Plugins -plugins: - - jekyll-last-modified-at +#plugins: +# - jekyll-last-modified-at # Exclude from processing. exclude: diff --git a/_includes/footer.html b/_includes/footer.html @@ -7,7 +7,7 @@ <div class="footer-col footer-col-1"> - <p>Last modified: {{ page.last_modified_at | date: '%Y-%m-%d' }}</p> + <p>Last modified: {{ site.time | date: '%Y-%m-%d' }}</p> </div> <div class="footer-col footer-col-2">