Update (route)

This commit is contained in:
2023-11-21 21:24:40 +08:00
parent 27035c1a9b
commit 4827130183
6 changed files with 60 additions and 5 deletions

View File

@@ -57,6 +57,7 @@ class="d-inline text-secondary small">{{ min_read($post->bites) }}</span>
<div id="collapse{{ $post->id }}" class="accordion-collapse collapse" aria-labelledby="heading{{ $post->id }}"
data-bs-parent="#accordionTechBites">
<div class="accordion-body small">
<div class="fw-bold">The Bite:</div>
<div class="mb-3">{{ $post->bites }}</div>
@if (in_array($post->impact_level, ['medium','high']))
@@ -69,7 +70,7 @@ class="d-inline text-secondary small">{{ min_read($post->bites) }}</span>
@endif
@if ($post->entities)
<div class="mb-2">
More about: @foreach( $post->keywords as $keyword) <a class="ms-1" href="{{ route('front.search.results',['query' => strtolower($keyword) ]) }}">{{ $keyword }}</a> @endforeach
More about: @foreach( $post->all_keywords as $keyword) <a class="ms-1" href="{{ get_route_search_result($keyword) }}">{{ $keyword }}</a> @endforeach
</div>
@endif
<div>