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"> <meta name="viewport" content="width=device-width,initial-scale=1.0">
{{- /* HTML meta tags */ -}} {{- /* 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 }}"> <meta name="description" content="{{ default .Site.Params.Description .Params.Description }}">
{{- /* Facebook meta tags */ -}} {{- /* Facebook meta tags */ -}}
@ -19,7 +19,7 @@
<meta property="og:image" content="{{ .Site.BaseURL }}{{ .Params.Thumbnail }}"> <meta property="og:image" content="{{ .Site.BaseURL }}{{ .Params.Thumbnail }}">
{{ else }} {{ else }}
{{- /* Hard coding this because baseURL is super delicate */ -}} {{- /* 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 }} {{ end }}
{{- /* Twitter meta tags */ -}} {{- /* Twitter meta tags */ -}}