feat: add footer date

This commit is contained in:
2026-06-28 22:59:32 +00:00
parent 31ae559825
commit 164687e627
3 changed files with 14 additions and 2 deletions
+5 -1
View File
@@ -228,7 +228,11 @@
}
.page-footer {
padding-block: var(--space-8);
display: flex;
flex-direction: column;
gap: var(--space-3);
padding-top: var(--space-3);
padding-bottom: var(--space-8);
}
.search-trigger {
+8 -1
View File
@@ -10,6 +10,13 @@
<hr class="rule">
</div>
<div class="footer-note page-footer">
{{ site.Params.homeFooter }}
{{ with .GitInfo }}
{{ $firstCommit := . }}
{{ with .Ancestors.Reverse }}
{{ $firstCommit = index . 0 }}
{{ end }}
<div class="page-footer-date">{{ $firstCommit.AuthorDate.Format "2 Jan, 06" }}</div>
{{ end }}
<div>{{ site.Params.homeFooter }}</div>
</div>
{{ end }}