fix: 🐛 Missing / creates a bad url for documents

This commit is contained in:
Noah Lancien 2026-05-05 12:50:13 +02:00
parent fb2ab7c5df
commit 59941ece42

View file

@ -3,7 +3,7 @@
@if ($document->is_issuu)
<x-front.sections.accordion.document-accordion :document='$document' />
@else
<a class="posts-list__item list-item-doc" href="{{ $document['path'] }}" title="{{ $document['name'] }}"
<a class="posts-list__item list-item-doc" href="/{{ $document['path'] }}" title="{{ $document['name'] }}"
download="" style="opacity: 1; transition: 250ms;">
{{ $document['name'] }}
</a>