style: add favicon to embeds

This commit is contained in:
Oliver Booth 2023-09-26 17:41:18 +01:00
parent 00c21f57e8
commit 963a335287
Signed by: oliverbooth
GPG Key ID: E60B570D1B7557B5

View File

@ -25,6 +25,7 @@
string excerpt = BlogPostService.RenderExcerpt(post, out bool trimmed);
<meta name="title" content="@post.Title">
<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:description" content="@excerpt">
<meta property="og:type" content="article">
@ -32,6 +33,7 @@
<meta property="twitter:title" content="@post.Title">
<meta property="twitter:creator" content="@post.Author.DisplayName">
<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:url" content="@url">
}