Use hugo function instead of global variable

This commit is contained in:
kolaente 2020-01-20 23:02:22 +01:00
parent 091c151f7a
commit c61e850d2e
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@
<meta property="og:type" content="{{ if .IsPage }}article{{ else }}website{{ end }}"/>
<meta property="og:url" content="{{ .Permalink }}"/>
<meta property="og:image" content="{{ .Site.BaseURL }}images/vikunja.png"/>
{{ .Hugo.Generator }}
{{ hugo.Generator }}
<title>{{ if and (not .IsHome) .Title }}{{ .Title }} | {{ end }}{{ .Site.Title }}</title>