+ New og:thumbnail mechanism for pages
Use the image field to specify a custom image for embeds
This commit is contained in:
@@ -15,5 +15,9 @@
|
||||
{{ if .IsHome }}{{ $desc = .Params.Description }}{{end}}
|
||||
<meta property="og:description" content="{{ $desc }}">
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:image" content="/favicon.png">
|
||||
{{ $ogimage := "/favicon.png" }}
|
||||
{{ if .Params.Image }}
|
||||
{{ $ogimage = .Params.Image }}
|
||||
{{ end }}
|
||||
<meta property="og:image" content="{{ $ogimage }}">
|
||||
</head>
|
||||
|
||||
Reference in New Issue
Block a user