1

Afficher la dernière modification dans le footer

This commit is contained in:
2026-04-03 01:24:10 +02:00
parent a2505475d3
commit ef85b23a82
2 changed files with 20 additions and 0 deletions

View File

@@ -30,6 +30,7 @@ body > footer > nav {
display: grid; display: grid;
align-content: center; align-content: center;
line-height: normal; line-height: normal;
gap: var(--space-2);
} }
body > footer > section { body > footer > section {
@@ -154,3 +155,16 @@ body > footer > nav ul ul > li + li::before {
margin-inline: 0.45rem; margin-inline: 0.45rem;
color: var(--color-border-strong); 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);
}

View File

@@ -48,5 +48,11 @@
</li> </li>
{{- end -}} {{- end -}}
</ul> </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> </nav>
</footer> </footer>