@page "/admin/blog-posts/edit/{id}" @using Markdig @using OliverBooth.Data.Blog @model OliverBooth.Pages.Admin.EditBlogPost @inject MarkdownPipeline MarkdownPipeline @{ Layout = "Shared/_AdminLayout"; ViewData["Title"] = "Edit Post"; IBlogPost post = Model.BlogPost; }