Answer the question
In order to leave comments, you need to log in
How to throw an array or a collection of project IDs into a template?
Template code:
@if ($work)
<p class="project-work font-bold mb-2 mt-0">{!! $work !!}</p>
@endif
@if ($navigation['work'])
{!! $navigation['work']->renderBlocks(false, [
'menu' => 'site.blocks.menu.work'
]) !!}
@endif
@if ($work)
<div class="list-group"><a href="mailto:{{ $work }}" class="list-group-item list-group-item-action">{{ $work }}</a></div>
@endif
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question