{{-- The same reference as chip.blade.php, drawn as a call-to-action for a line of its own (merge tag `document-button:`). Icons are masked spans for the reason given there. Contract: $document (App\Models\CharityDocument). --}} @php $url = $document->publicUrl(); $meta = collect([ $document->typeLabel(), $document->year, $document->isPdf() ? 'PDF' : null, $document->isServedLocally() ? $document->storedSizeForHumans() : null, ])->filter()->join(' ยท '); @endphp @if ($url){{ $document->displayTitle() }}{{ $meta }}@endif