fix rich preview url
This commit is contained in:
parent
556fc8676c
commit
c840168842
@ -11,7 +11,7 @@
|
|||||||
<meta name="og:title" content="{{ if .IsHome }}{{ site.Title }}{{ else }}{{ printf "%s | %s" .Title site.Title }}{{ end }}">
|
<meta name="og:title" content="{{ if .IsHome }}{{ site.Title }}{{ else }}{{ printf "%s | %s" .Title site.Title }}{{ end }}">
|
||||||
<meta name="og:url" content="{{ site.BaseURL }}">
|
<meta name="og:url" content="{{ site.BaseURL }}">
|
||||||
{{ with site.Params.rich_preview }}
|
{{ with site.Params.rich_preview }}
|
||||||
<meta name="og:image" content="{{ . }}">
|
<meta name="og:image" content="{{ path.Join site.BaseURL . }}">
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ with site.Params.favicon }}
|
{{ with site.Params.favicon }}
|
||||||
<link rel="icon" type="image/x-icon" href="{{ . }}">
|
<link rel="icon" type="image/x-icon" href="{{ . }}">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user