blog photo size

This commit is contained in:
2018-01-04 17:00:39 +01:00
parent b7c2de71ab
commit 1686504aea
3 changed files with 5 additions and 3 deletions

View File

@ -67,9 +67,9 @@
<div class="row @trclass">
<div class="col-xs-10">
<a asp-action="Title" asp-route-id="@title" >
@if (first.Photo==null) { }
else {<img src="@first.Photo" class="smallphoto" alt="@first.Title">}
<markdown>@first.Title</markdown>
@if (first.Photo==null) { }
else {<img src="@first.Photo" class="blogphoto" alt="@first.Title">}
</a>
<markdown>@((first.Content?.Length > 120) ? first.Content.Substring(0, 120) + " ..." : first.Content)</markdown>