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)
|
@forelse($articles as $article)
|
||||||
<article>
|
<article>
|
||||||
<h3>
|
<h3>
|
||||||
Article: {{ $article->title }}
|
<a href="{{ route('article', ['article_slug' => $article->slug]) }}">
|
||||||
|
{{ $article->title }}
|
||||||
|
</a>
|
||||||
</h3>
|
</h3>
|
||||||
<p>
|
<h4>
|
||||||
{!! $article->body !!}
|
{{ $article->subtitle }}
|
||||||
</p>
|
</h4>
|
||||||
</article>
|
</article>
|
||||||
@empty
|
@empty
|
||||||
<div>No articles published yet. Check back soon!</div>
|
<div>No articles published yet. Check back soon!</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue