Fixes the blog index

This commit is contained in:
Paul Schneider 2017-02-17 22:25:50 +01:00
commit 3e4cc17256

View file

@ -39,9 +39,7 @@
<markdown>@item.Title</markdown></a>
</td>
<td>
<markdown>
@((item.Content.Length > 120) ? item.Content.Substring(0, 120) + "..." : item.Content.Substring(0, 120))
</markdown>
<markdown>@((item.Content?.Length > 120) ? item.Content.Substring(0, 120) + " ..." : item.Content)</markdown>
<span style="font-size:x-small;">(@item.Author.UserName </span>,
<span style="font-size:xx-small;">
posté le @item.DateCreated.ToString("dddd d MMM yyyy à H:mm")