From: Alekos Filini Date: Sat, 4 Sep 2021 19:52:49 +0000 (+0200) Subject: Fix GitInfo check X-Git-Url: http://internal-gitweb-vhost/trait.impl/bdk_wallet/keys/trait.IntoDescriptorKey.js?a=commitdiff_plain;h=6bad1e33910f3bdd3edfb2a80054f5698deec258;p=afilini.com Fix GitInfo check --- diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index a06296b..0e05d9c 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,6 +1,6 @@ {{ if .IsPage }} - Updated: {{ .Lastmod.Format .Site.Params.dateFormat }} - Version: {{ if isset .GitInfo "Hash" }}{{ .GitInfo.AbbreviatedHash }}{{ else }}unknown{{ end }} - + Updated: {{ .Lastmod.Format .Site.Params.dateFormat }} - Version: {{ with .GitInfo }}{{ .AbbreviatedHash }}{{ else }}unknown{{ end }} - {{ end }} © CC BY-SA 4.0