Set friendly date for blog posts
This commit is contained in:
parent
fa143f5ab4
commit
035f442ba0
5 changed files with 61 additions and 5 deletions
|
@ -6,4 +6,4 @@
|
|||
|
||||
@Html.Raw(Model.Content)
|
||||
|
||||
<small>Posted on @Model.Timestamp.ToString()</small>
|
||||
<small>Posted on @Model.Timestamp</small>
|
|
@ -23,7 +23,7 @@
|
|||
<article>
|
||||
<h2><a href="/blog/view/@post.Url">@post.Title</a></h2>
|
||||
@Html.Raw(post.Content)
|
||||
<small>Posted on @post.Timestamp.ToString()</small>
|
||||
<small>Posted on @post.Timestamp</small>
|
||||
<p><a href="/blog/view/@post.Url">Read more...</a></p>
|
||||
</article>
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue