Skip to content

Commit 3ed423e

Browse files
committed
Use absolute URI for og:image
1 parent ad63989 commit 3ed423e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

input/_layout.cshtml

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
<meta property="og:title" content='@Document.GetString("PageTitle")' />
4242
@if (Document.ContainsKey(WebKeys.Image))
4343
{
44-
<meta property="og:image" content='@Context.GetLink(Document.GetString(WebKeys.Image))' />
44+
<meta property="og:image" content='@Context.GetLink(Document.GetString(WebKeys.Image), true)' />
4545
}
4646
<meta property="og:type" content="website" />
4747
<meta property="og:url" content='@Document.GetLink(true)' />

0 commit comments

Comments
 (0)