Using baseurl without hardcoded trailing slash between the two

This commit is contained in:
shockrah 2023-10-07 16:34:06 -07:00
parent dab7b92710
commit a749e9e8ea

View File

@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width,initial-scale=1.0">
{{- /* HTML meta tags */ -}}
<title>{{ default .Params.Title .Site.Params.Title }}</title>
<title>{{ default .Params.Title .Site.Title }}</title>
<meta name="description" content="{{ default .Site.Params.Description .Params.Description }}">
{{- /* Facebook meta tags */ -}}
@ -19,7 +19,7 @@
<meta property="og:image" content="{{ .Site.BaseURL }}{{ .Params.Thumbnail }}">
{{ else }}
{{- /* Hard coding this because baseURL is super delicate */ -}}
<meta property="og:image" content="https://temper.tv/img/bg.png">
<meta property="og:image" content="{{ .Site.BaseURL }}/img/bg.png">
{{ end }}
{{- /* Twitter meta tags */ -}}