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