Merge branch '145-document-path' into 'develop'

fix: 🐛 Missing / creates a bad url for documents

See merge request ldc-web/projets/ldc!161
This commit is contained in:
Noix 2026-05-05 14:27:14 +00:00
commit fe566e9f8d

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>