refactor: remove unused out var

This commit is contained in:
Oliver Booth 2024-02-25 15:58:21 +00:00
parent c1e5227289
commit 2431eda6f5
Signed by: oliverbooth
GPG Key ID: E60B570D1B7557B5

View File

@ -31,7 +31,7 @@
}
@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="description" content="@excerpt">
<meta property="og:title" content="@post.Title">