14 lines
495 B
PHP
14 lines
495 B
PHP
<a class="article-card-link" href="{{ $bundle->getPath() }}">
|
|
<article class="article-card">
|
|
<h2>{!! $bundle->getArticleTitle() !!}</h2>
|
|
<section class="article-card-body">
|
|
@if (!empty($date))
|
|
<p><time datetime="{{ $date->toIso8601String() }}">{{ $date->isoFormat('LL') }}</time></p>
|
|
@endif
|
|
@if (!empty($section))
|
|
<p>{!! $section->getArticleTitle() !!}</p>
|
|
@endif
|
|
</section>
|
|
</article>
|
|
</a>
|