Update (post): Fix broken routes

This commit is contained in:
2023-10-04 21:17:56 +08:00
parent c9c6004694
commit 8c77682764
3 changed files with 3 additions and 3 deletions

View File

@@ -10,7 +10,7 @@
<div class="mb-1 text-body-secondary">{{ $post->published_at->format('M j') }}</div>
@endif
<p class="mb-3">{{ $post->excerpt }}</p>
<a href="{{ route('front.post', ['slug' => $post->slug]) }}"
<a href="{{ route('front.post', ['slug' => $post->slug, 'category_slug' => $post->category->slug]) }}"
class="icon-link gap-1 icon-link-hover stretched-link">
Continue reading
<svg class="bi">