Fix: Content transformed to code block
This commit is contained in:
parent
11a58333a7
commit
32e6c4dae1
|
@ -1,23 +1,23 @@
|
||||||
<a class="article-card-link" href="{{ $bundle->getPath() }}">
|
<a class="article-card-link" href="{{ $bundle->getPath() }}">
|
||||||
<article class="article-card">
|
<article class="article-card">
|
||||||
@if (!empty($cover))
|
@if (!empty($cover))
|
||||||
{!! $cover !!}
|
{!! $cover !!}
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
@if(!empty($mainLink) && $mainLink['isDead'])
|
@if(!empty($mainLink) && $mainLink['isDead'])
|
||||||
<div class="ribbon dead" title="{{ $mainLink['reason'] }}">
|
<div class="ribbon dead" title="{{ $mainLink['reason'] }}">
|
||||||
Lien mort depuis le {{ Carbon\Carbon::parse($mainLink['checked'])->format('d/m/Y') }}
|
Lien mort depuis le {{ Carbon\Carbon::parse($mainLink['checked'])->format('d/m/Y') }}
|
||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
<h2>{!! $bundle->getArticleTitle() !!}</h2>
|
<h2>{!! $bundle->getArticleTitle() !!}</h2>
|
||||||
<section class="article-card-body">
|
<section class="article-card-body">
|
||||||
@if (!empty($date))
|
@if (!empty($date))
|
||||||
<p><time datetime="{{ $date->toIso8601String() }}">{{ $date->isoFormat('LL') }}</time></p>
|
<p><time datetime="{{ $date->toIso8601String() }}">{{ $date->isoFormat('LL') }}</time></p>
|
||||||
@endif
|
@endif
|
||||||
@if (!empty($section))
|
@if (!empty($section))
|
||||||
<p>{!! $section->getArticleTitle() !!}</p>
|
<p>{!! $section->getArticleTitle() !!}</p>
|
||||||
@endif
|
@endif
|
||||||
</section>
|
</section>
|
||||||
</article>
|
</article>
|
||||||
</a>
|
</a>
|
||||||
|
|
|
@ -1,5 +1 @@
|
||||||
<section class="article-list">
|
<section class="article-list">@foreach ($bundles as $bundle){!! $bundle->renderCard() !!}@endforeach</section>
|
||||||
@foreach ($bundles as $bundle)
|
|
||||||
{!! $bundle->renderCard() !!}
|
|
||||||
@endforeach
|
|
||||||
</section>
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user