refactor: remove unused out var
This commit is contained in:
parent
c1e5227289
commit
2431eda6f5
@ -31,7 +31,7 @@
|
|||||||
}
|
}
|
||||||
@if (ViewData["Post"] is IBlogPost post)
|
@if (ViewData["Post"] is IBlogPost post)
|
||||||
{
|
{
|
||||||
string excerpt = BlogPostService.RenderExcerpt(post, out bool trimmed);
|
string excerpt = BlogPostService.RenderExcerpt(post, out _);
|
||||||
<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:title" content="@post.Title">
|
<meta property="og:title" content="@post.Title">
|
||||||
|
Loading…
Reference in New Issue
Block a user