Skip to content

Commit f05835e

Browse files
committed
ajoute la date de dernière modification des pages
1 parent 2d833ac commit f05835e

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

css/11dim.css

+5
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,15 @@ body > footer ul {
77
line-height: 1.2em;
88
}
99

10+
body > footer .modified {
11+
text-align: right;
12+
}
13+
1014
blockquote + blockquote::before {
1115
display: block;
1216
width: 55%;
1317
content: "* * *";
1418
text-align: center;
1519
color: #aaa;
1620
}
21+

includes/layouts/notice.pug

+5
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,8 @@ block content
99
each tag in tags
1010
span #!{ tag }
1111
section !{ content }
12+
13+
block footer_extra
14+
section
15+
hr
16+
p.modified dernière modification : #{ page.date.toLocaleString('fr-Fr', { 'timeZone': 'Europe/Paris' }) }

includes/parts/footer.pug

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
]
77
88
footer
9+
block footer_extra
910
hr
1011
h3 flux rss
1112
ul

0 commit comments

Comments
 (0)