mirror of
https://github.com/TomHodson/tomhodson.github.com.git
synced 2025-06-26 10:01:18 +02:00
Add page modified time
This commit is contained in:
parent
07c9141d7e
commit
5b35cf51df
1
Gemfile
1
Gemfile
@ -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
|
||||
|
||||
|
@ -33,6 +33,7 @@ plugins:
|
||||
- jekyll-redirect-from
|
||||
- flexible_include
|
||||
- kramdown-syntax-coderay
|
||||
- jekyll-last-modified-at
|
||||
|
||||
|
||||
feed:
|
||||
|
@ -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>
|
@ -1,31 +1,27 @@
|
||||
|
||||
// Padding to keep the keep the content to the right of the header
|
||||
footer {
|
||||
max-width: 560px;
|
||||
margin-left: 240px;
|
||||
padding-left: 30px;
|
||||
padding-bottom: 10vh;
|
||||
max-width: 560px;
|
||||
margin-left: 240px;
|
||||
padding-left: 30px;
|
||||
padding-bottom: 10vh;
|
||||
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
gap: 0.5em;
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
}
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
gap: 0.5em;
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media
|
||||
only screen and (max-width: $horizontal_breakpoint),
|
||||
only screen and (max-height: $vertical_breakpoint)
|
||||
{
|
||||
footer {
|
||||
padding-top: 10px;
|
||||
padding-left: 20px;
|
||||
padding-right: 20px;
|
||||
margin: auto;
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
@media only screen and (max-width: $horizontal_breakpoint),
|
||||
only screen and (max-height: $vertical_breakpoint) {
|
||||
footer {
|
||||
padding-top: 10px;
|
||||
padding-left: 20px;
|
||||
padding-right: 20px;
|
||||
margin: auto;
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user