Compare commits

..

2 Commits

Author SHA1 Message Date
Dirk Heilig 240eb37b83 add build-time 2024-01-19 10:55:33 +01:00
Dirk Heilig c7f27bf002 syntax fix 2024-01-19 10:52:25 +01:00
2 changed files with 2 additions and 2 deletions

View File

@ -20,5 +20,5 @@ dist:
mkdir dist mkdir dist
deploy_test: deploy_test:
make BASEURL=https://c3retest.shnbk.de release $(MAKE) BASEURL=https://c3retest.shnbk.de release
rsync -rv --delete dist/* shnbk.de:domains/c3retest.shnbk.de/htdocs rsync -rv --delete dist/* shnbk.de:domains/c3retest.shnbk.de/htdocs

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 -}}