feat: use avatar picture variable in metadata

This commit is contained in:
2025-11-28 22:29:44 +01:00
parent 310f0327c9
commit e63cff37eb

View File

@@ -12,7 +12,7 @@
{{- $title = print .Site.Title " | " .Title -}} {{- $title = print .Site.Title " | " .Title -}}
{{- end -}} {{- end -}}
{{- end -}} {{- end -}}
{{- $image := "/img/profile.jpg" -}} {{- $image := path.Join "/img" .Site.Params.avatar -}}
{{- if isset .Params "headerimage" }} {{ $image = print "img/" .Params.headerimage }} {{ end -}} {{- if isset .Params "headerimage" }} {{ $image = print "img/" .Params.headerimage }} {{ end -}}
<meta charset="utf-8" /> <meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" />