Updated
This commit is contained in:
@ -9,14 +9,14 @@
|
||||
@forelse ($news as $item)
|
||||
<div class="item-latest-post clearfix">
|
||||
<div class="entry-thumbnail">
|
||||
<a href="{{ route('news', $item->alias) }}">
|
||||
<a href="{{ route('showNews', $item->alias) }}">
|
||||
<img style="height: 205px; width:100%; object-fit:cover; object-position:center;" src="{{ asset($item->image) }}" alt="{{$item->title}}" />
|
||||
</a>
|
||||
</div>
|
||||
<div class="entry-summary">
|
||||
<h2 class="entry-title">{{ Str::limit($item->title,45) }}</h2>
|
||||
<div class="entry-footer">
|
||||
<a href="{{ route('news', $item->alias) }}">Read More...</a>
|
||||
<a href="{{ route('showNews', $item->alias) }}">Read More...</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user