@using FastBlog.Web.Middlewares
@model FastBlog.Core.Models.Blogs.Blog

@{
    ViewData["Title"] = Model.Metadata.Title;
}

@await Html.PartialAsync("Blogs/Content", Model)

<br>

@if(Context.IsUser())
{
<div class="container">
    <hr/>
    @await Html.PartialAsync("Blogs/ManageCard", Model.Metadata)
</div>
}