Update (rss)

This commit is contained in:
2023-12-03 09:48:21 +08:00
parent 48d6e82619
commit 60cd1b890d

View File

@@ -13,7 +13,7 @@
<div class="d-flex flex-wrap mb-1">
@if ($post->entities)
@foreach ($post->entities_keywords as $keyword)
@if ($keyword->type == 'entity')
{{-- @if ($keyword->type == 'entity') --}}
@if ($loop->iteration <= 2)
@if ($keyword->is_main)
<h4
@@ -33,7 +33,7 @@ class="mb-1 pb-1 d-inline badge text-bg-light border me-1 small fw-normal">
</h4>
@break
@endif
@endif
{{-- @endif --}}
@endforeach
@endif
@@ -60,7 +60,9 @@ class="font-family-roboto-condensed mb-1 pb-1 d-inline badge bg-danger border-da
</span>
<i class="bi bi-dot"></i>
<span class="d-inline text-secondary small">{{ min_read($post->bites) }}</span>
@if (!is_empty($post->bites))
<span class="d-inline text-secondary small">{{ min_read($post->bites) }}</span>
@endif
</div>
</div>
</button>
@@ -74,13 +76,17 @@ class="font-family-roboto-condensed mb-1 pb-1 d-inline badge bg-danger border-da
<div class="mb-3">{{ $post->bites }}</div>
@endif
@if (in_array($post->impact_level, ['medium', 'high']))
<div class="card mb-2">
<div class="card-body">
<div class="fw-bold">Social Impact:</div>
<div>{{ $post->impact }}</div>
</div>
</div>
@if (!is_empty($post->impact))
@if (in_array($post->impact_level, ['medium', 'high']))
<div class="card mb-2">
<div class="card-body">
<div class="fw-bold">Social Impact:</div>
<div>{{ $post->impact }}</div>
</div>
</div>
@endif
@endif
@if ($post->entities)
<div class="mb-2 text-wrap">