View blog posts

This commit is contained in:
Robert Marshall 2019-04-28 11:12:52 +01:00
parent b8f371e3e8
commit 3064dd8d25
5 changed files with 16 additions and 13 deletions

View file

@ -0,0 +1,9 @@
@model BlogPostViewModel;
@{
ViewData["Title"] = Model.Title;
}
@Html.Raw(Model.Content)
<small>Posted on @Model.Timestamp.ToString()</small>