Afficher la dernière modification dans le footer
This commit is contained in:
@@ -30,6 +30,7 @@ body > footer > nav {
|
||||
display: grid;
|
||||
align-content: center;
|
||||
line-height: normal;
|
||||
gap: var(--space-2);
|
||||
}
|
||||
|
||||
body > footer > section {
|
||||
@@ -154,3 +155,16 @@ body > footer > nav ul ul > li + li::before {
|
||||
margin-inline: 0.45rem;
|
||||
color: var(--color-border-strong);
|
||||
}
|
||||
|
||||
body > footer > nav > p {
|
||||
margin-top: 0;
|
||||
color: var(--color-footer-soft);
|
||||
font-size: 0.8rem;
|
||||
line-height: 1.45;
|
||||
justify-self: center;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
body > footer > nav > p > time {
|
||||
color: var(--color-footer-text);
|
||||
}
|
||||
|
||||
@@ -48,5 +48,11 @@
|
||||
</li>
|
||||
{{- end -}}
|
||||
</ul>
|
||||
{{- with .Lastmod -}}
|
||||
<p>
|
||||
Dernière modification de cette page :
|
||||
<time datetime="{{ .Format "2006-01-02T15:04:05Z07:00" }}">{{ printf "%s à %s" (. | time.Format ":date_long") (. | time.Format "15:04") }}</time>
|
||||
</p>
|
||||
{{- end -}}
|
||||
</nav>
|
||||
</footer>
|
||||
|
||||
Reference in New Issue
Block a user