add build-time

master
Dirk Heilig 2024-01-19 10:55:33 +01:00
parent c7f27bf002
commit 240eb37b83
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
<meta name="githash" content="{{ .Page.GitInfo.Hash }}"> <meta name="githash" content="{{ .Page.GitInfo.Hash }}">
<meta name="gitdate" content="{{ .Page.GitInfo.CommitDate }}"> <meta name="gitdate" content="{{ .Page.GitInfo.CommitDate }}">
<meta name="gitmsg" content="{{ .Page.GitInfo.Subject }}"> <meta name="gitmsg" content="{{ .Page.GitInfo.Subject }}">
<meta name="buildtime" content="{{ time.Now }}">
{{ $title := .Site.Title -}} {{ $title := .Site.Title -}}
{{ if .Params.Title -}} {{ if .Params.Title -}}
{{ $title = printf "%s | %s" .Params.Title $title -}} {{ $title = printf "%s | %s" .Params.Title $title -}}