Fixing broken ogimage link

This commit is contained in:
shockrah 2023-09-12 16:47:13 -07:00
parent 3545f76842
commit 29315403fd

View File

@ -22,7 +22,7 @@
<meta property="og:video:width" content="640"> <meta property="og:video:width" content="640">
<meta property="og:video:height" content="480"> <meta property="og:video:height" content="480">
{{ else }} {{ else }}
{{ $ogimage := "{{ .Site.BaseURL }}/favicon.png" }} {{ $ogimage := printf "%s%s" .Site.BaseURL "/favicon.png" }}
{{ if .Params.Image }} {{ if .Params.Image }}
{{ $ogimage = .Params.Image }} {{ $ogimage = .Params.Image }}
{{ end }} {{ end }}