feat: add links from homepage to individual articles
This commit is contained in:
parent
a9155b413f
commit
ebcdf7e324
|
|
@ -11,11 +11,13 @@
|
|||
@forelse($articles as $article)
|
||||
<article>
|
||||
<h3>
|
||||
Article: {{ $article->title }}
|
||||
<a href="{{ route('article', ['article_slug' => $article->slug]) }}">
|
||||
{{ $article->title }}
|
||||
</a>
|
||||
</h3>
|
||||
<p>
|
||||
{!! $article->body !!}
|
||||
</p>
|
||||
<h4>
|
||||
{{ $article->subtitle }}
|
||||
</h4>
|
||||
</article>
|
||||
@empty
|
||||
<div>No articles published yet. Check back soon!</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue