blog photo size
This commit is contained in:
parent
4f5f5dacbd
commit
24d0049ff9
3 changed files with 5 additions and 3 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue