Set friendly date for blog posts

This commit is contained in:
Robert Marshall 2019-04-28 11:43:05 +01:00
parent fa143f5ab4
commit 035f442ba0
5 changed files with 61 additions and 5 deletions

View file

@ -15,5 +15,5 @@
<h2>Latest Blog Post</h2>
<h3><a href="/blog/view/@Model.Url">@Model.Title</a></h3>
@Html.Raw(Model.Content)
<small>Posted on @Model.Timestamp.ToString()</small>
<small>Posted on @Model.Timestamp</small>
<p><a href="/blog/view/@Model.Url>">Read more...</a></p>