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-redirect-from'
|
||||||
gem 'jekyll_flexible_include'
|
gem 'jekyll_flexible_include'
|
||||||
gem "kramdown-syntax-coderay", "~> 1.0"
|
gem "kramdown-syntax-coderay", "~> 1.0"
|
||||||
|
gem "jekyll-last-modified-at"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -33,6 +33,7 @@ plugins:
|
|||||||
- jekyll-redirect-from
|
- jekyll-redirect-from
|
||||||
- flexible_include
|
- flexible_include
|
||||||
- kramdown-syntax-coderay
|
- kramdown-syntax-coderay
|
||||||
|
- jekyll-last-modified-at
|
||||||
|
|
||||||
|
|
||||||
feed:
|
feed:
|
||||||
|
@ -1,7 +1,9 @@
|
|||||||
<footer>
|
<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>
|
Page Source</a>
|
||||||
|
|
|
|
||||||
<a href="/credits">
|
<a href="/credits">
|
||||||
Credits</a>
|
Credits</a>
|
||||||
|
|
|
||||||
|
<span>Last Modified {{ page.last_modified_at | date: '%e %b %Y' }}</span>
|
||||||
</footer>
|
</footer>
|
@ -1,31 +1,27 @@
|
|||||||
|
|
||||||
// Padding to keep the keep the content to the right of the header
|
// Padding to keep the keep the content to the right of the header
|
||||||
footer {
|
footer {
|
||||||
max-width: 560px;
|
max-width: 560px;
|
||||||
margin-left: 240px;
|
margin-left: 240px;
|
||||||
padding-left: 30px;
|
padding-left: 30px;
|
||||||
padding-bottom: 10vh;
|
padding-bottom: 10vh;
|
||||||
|
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
gap: 0.5em;
|
gap: 0.5em;
|
||||||
|
|
||||||
a {
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
a {
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media
|
@media only screen and (max-width: $horizontal_breakpoint),
|
||||||
only screen and (max-width: $horizontal_breakpoint),
|
only screen and (max-height: $vertical_breakpoint) {
|
||||||
only screen and (max-height: $vertical_breakpoint)
|
footer {
|
||||||
{
|
padding-top: 10px;
|
||||||
footer {
|
padding-left: 20px;
|
||||||
padding-top: 10px;
|
padding-right: 20px;
|
||||||
padding-left: 20px;
|
margin: auto;
|
||||||
padding-right: 20px;
|
justify-content: center;
|
||||||
margin: auto;
|
}
|
||||||
justify-content: center;
|
}
|
||||||
}
|
|
||||||
}
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user