add git info

master
Dirk Heilig 2024-01-18 18:36:57 +01:00
parent 6b2ff96c3a
commit 31d30154df
1 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,8 @@
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width,minimum-scale=1"> <meta name="viewport" content="width=device-width,minimum-scale=1">
<meta name="githash" content="{{ .Page.GitInfo.Hash }}">
<meta name="gitdate" content="{{ .Page.GitInfo.CommitDate }}">
<meta name="gitmsg" content="{{ .Page.GitInfo.Subject }}">
{{ $title := .Site.Title -}} {{ $title := .Site.Title -}}
{{ if .Params.Title -}} {{ if .Params.Title -}}