From 26b996f07fbabb70913ea9ec0b29e765b00909e3 Mon Sep 17 00:00:00 2001 From: aethrvmn Date: Fri, 4 Oct 2024 13:25:33 +0200 Subject: [PATCH] added commit info --- layouts/partials/docs/footer.html | 58 +++++++++++++++---------------- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/layouts/partials/docs/footer.html b/layouts/partials/docs/footer.html index 3c33643..d70ff67 100644 --- a/layouts/partials/docs/footer.html +++ b/layouts/partials/docs/footer.html @@ -1,37 +1,37 @@
+
+
+
+ docs partially generated using gen ai +
-{{ if and .File .Site.Params.BookRepo .Site.Params.BookEditPath }} -
- - - {{ i18n "Edit this page" }} - +
+ + site theme based on hugo-book + +
-{{ end }} + - - -{{ if and .GitInfo .Site.Params.BookRepo }} -
- {{- $date := partial "docs/date" (dict "Date" .GitInfo.AuthorDate.Local "Format" .Site.Params.BookDateFormat) -}} - {{- $commitPath := default "commit" .Site.Params.BookCommitPath -}} - - Last edited -
- - commit {{ .GitInfo.Hash }} - -
- - author: {{ .GitInfo.AuthorName }} <{{ .GitInfo.AuthorEmail }}> - -
- - date: {{ $date }} - -
-{{ end }} +
+ Last edited on {{ .GitInfo.CommitDate.Format "02/01/2006" }} +
+ + title: {{ .GitInfo.Subject }} + +
+ + commit: {{ .GitInfo.AbbreviatedHash }} + +
+ + author: {{ .GitInfo.AuthorName }} + +
+ + <{{ .GitInfo.AuthorEmail }}> +