Add page modified time

This commit is contained in:
Tom 2024-08-02 10:56:01 +01:00
parent 07c9141d7e
commit 5b35cf51df
4 changed files with 26 additions and 26 deletions

View File

@ -9,5 +9,6 @@ group :jekyll_plugins do
gem 'jekyll-redirect-from'
gem 'jekyll_flexible_include'
gem "kramdown-syntax-coderay", "~> 1.0"
gem "jekyll-last-modified-at"
end

View File

@ -33,6 +33,7 @@ plugins:
- jekyll-redirect-from
- flexible_include
- kramdown-syntax-coderay
- jekyll-last-modified-at
feed:

View File

@ -1,7 +1,9 @@
<footer>
<a href="https://github.com/TomHodson/tomhodson.github.com/blob/main/{{page.path}}?plain=1">
<p><a href="https://github.com/TomHodson/tomhodson.github.com/blob/main/{{page.path}}?plain=1">
Page Source</a>
|
<a href="/credits">
Credits</a>
|
<span>Last Modified {{ page.last_modified_at | date: '%e %b %Y' }}</span>
</footer>

View File

@ -1,4 +1,3 @@
// Padding to keep the keep the content to the right of the header
footer {
max-width: 560px;
@ -14,13 +13,10 @@ footer {
a {
text-decoration: none;
}
}
@media
only screen and (max-width: $horizontal_breakpoint),
only screen and (max-height: $vertical_breakpoint)
{
@media only screen and (max-width: $horizontal_breakpoint),
only screen and (max-height: $vertical_breakpoint) {
footer {
padding-top: 10px;
padding-left: 20px;