View blog posts
This commit is contained in:
parent
b8f371e3e8
commit
3064dd8d25
5 changed files with 16 additions and 13 deletions
9
Website/Views/Blog/Entry.cshtml
Normal file
9
Website/Views/Blog/Entry.cshtml
Normal file
|
@ -0,0 +1,9 @@
|
|||
@model BlogPostViewModel;
|
||||
|
||||
@{
|
||||
ViewData["Title"] = Model.Title;
|
||||
}
|
||||
|
||||
@Html.Raw(Model.Content)
|
||||
|
||||
<small>Posted on @Model.Timestamp.ToString()</small>
|
|
@ -1,7 +0,0 @@
|
|||
@model BlogPostViewModel;
|
||||
|
||||
@{
|
||||
ViewData["Title"] = "Blog";
|
||||
}
|
||||
|
||||
@Model.Title
|
Loading…
Add table
Add a link
Reference in a new issue