style: add favicon to embeds
This commit is contained in:
parent
00c21f57e8
commit
963a335287
@ -25,6 +25,7 @@
|
|||||||
string excerpt = BlogPostService.RenderExcerpt(post, out bool trimmed);
|
string excerpt = BlogPostService.RenderExcerpt(post, out bool trimmed);
|
||||||
<meta name="title" content="@post.Title">
|
<meta name="title" content="@post.Title">
|
||||||
<meta name="description" content="@excerpt">
|
<meta name="description" content="@excerpt">
|
||||||
|
<meta property="og:image" content="@Url.Content("~/img/favicon.png")">
|
||||||
<meta property="og:title" content="@post.Title">
|
<meta property="og:title" content="@post.Title">
|
||||||
<meta property="og:description" content="@excerpt">
|
<meta property="og:description" content="@excerpt">
|
||||||
<meta property="og:type" content="article">
|
<meta property="og:type" content="article">
|
||||||
@ -32,6 +33,7 @@
|
|||||||
<meta property="twitter:title" content="@post.Title">
|
<meta property="twitter:title" content="@post.Title">
|
||||||
<meta property="twitter:creator" content="@post.Author.DisplayName">
|
<meta property="twitter:creator" content="@post.Author.DisplayName">
|
||||||
<meta property="twitter:description" content="@excerpt">
|
<meta property="twitter:description" content="@excerpt">
|
||||||
|
<meta property="twitter:image" content="@Url.Content("~/img/favicon.png")">
|
||||||
<meta property="twitter:card" content="summary">
|
<meta property="twitter:card" content="summary">
|
||||||
<meta property="twitter:url" content="@url">
|
<meta property="twitter:url" content="@url">
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user