Update (1)
This commit is contained in:
BIN
public/.DS_Store
vendored
BIN
public/.DS_Store
vendored
Binary file not shown.
@@ -1,5 +1,5 @@
|
|||||||
@foreach ($rss_posts as $key => $post)
|
@foreach ($rss_posts as $key => $post)
|
||||||
<div class="card mb-1">
|
<div class="card mb-1 shadow border-0">
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<div class="d-grid d-md-flex justify-content-md-between">
|
<div class="d-grid d-md-flex justify-content-md-between">
|
||||||
<div class="w-100 mb-2">
|
<div class="w-100 mb-2">
|
||||||
@@ -8,29 +8,7 @@
|
|||||||
</h3>
|
</h3>
|
||||||
|
|
||||||
@if ($post->entities_keywords->count() > 0)
|
@if ($post->entities_keywords->count() > 0)
|
||||||
<div class="d-flex flex-wrap mb-1 gap-1">
|
<div class="d-flex flex-wrap mb-2 gap-1">
|
||||||
{{-- @if ($post->entities) --}}
|
|
||||||
@foreach ($post->entities_keywords as $keyword)
|
|
||||||
{{-- @if ($keyword->type == 'entity') --}}
|
|
||||||
@if ($loop->iteration <= 3)
|
|
||||||
@if ($keyword->is_main)
|
|
||||||
<h4
|
|
||||||
class="mb-0 pb-1 d-inline badge bg-secondary border-secondary text-white border small fw-bold">
|
|
||||||
{{ $keyword->value }}
|
|
||||||
</h4>
|
|
||||||
@else
|
|
||||||
<h4 class="mb-0 pb-1 d-inline badge text-bg-light border small fw-normal">
|
|
||||||
{{ $keyword->value }}
|
|
||||||
</h4>
|
|
||||||
@endif
|
|
||||||
@elseif ($loop->iteration > 3 && count($post->entities_keywords) > 3)
|
|
||||||
<h4 class="mb-0 pb-1 d-inline badge text-bg-light border small fw-normal">
|
|
||||||
+{{ count($post->entities_keywords) - 3 }} more
|
|
||||||
</h4>
|
|
||||||
@break
|
|
||||||
@endif
|
|
||||||
{{-- @endif --}}
|
|
||||||
@endforeach
|
|
||||||
|
|
||||||
|
|
||||||
{{-- @endif --}}
|
{{-- @endif --}}
|
||||||
@@ -41,6 +19,15 @@ class="font-family-roboto-condensed mb-0 pb-1 d-inline badge bg-danger border-da
|
|||||||
</h4>
|
</h4>
|
||||||
@endif
|
@endif
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="mb-1 text-wrap d-flex flex-wrap gap-1 small">
|
||||||
|
<span class="word-wrap-break-word small">More about:</span> @foreach ($post->entities_keywords as $keyword)
|
||||||
|
@if ($keyword->type == 'entity')
|
||||||
|
<a class="word-wrap-break-word small"
|
||||||
|
href="{{ get_route_search_result($keyword->value_lowercased) }}">#{{ $keyword->value_lowercased }}</a>
|
||||||
|
@endif
|
||||||
|
@endforeach
|
||||||
|
</div>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
<div class="small">
|
<div class="small">
|
||||||
|
|||||||
Reference in New Issue
Block a user