fix rich preview url

This commit is contained in:
yequari 2025-02-26 21:48:48 -07:00
parent 556fc8676c
commit c840168842

View File

@ -11,7 +11,7 @@
<meta name="og:title" content="{{ if .IsHome }}{{ site.Title }}{{ else }}{{ printf "%s | %s" .Title site.Title }}{{ end }}">
<meta name="og:url" content="{{ site.BaseURL }}">
{{ with site.Params.rich_preview }}
<meta name="og:image" content="{{ . }}">
<meta name="og:image" content="{{ path.Join site.BaseURL . }}">
{{ end }}
{{ with site.Params.favicon }}
<link rel="icon" type="image/x-icon" href="{{ . }}">