Skip to content

Commit

Permalink
fix: enabled DOI links on collection pages
Browse files Browse the repository at this point in the history
  • Loading branch information
CS76 committed Dec 2, 2024
1 parent 916cc60 commit a3b1b5f
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion resources/views/livewire/search.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,14 @@
$slug = Str::slug($collection->title);
$currentYearMonth = now()->format('Y-m');
@endphp


@if ($collection->doi)
DOI: <a href="https://doi.org/{{$collection->doi}}"
class="mt-4 inline-block text-sm text-blue-600 underline">
{{ $collection->doi }}
</a><br/>
@endif

<a href="https://coconut.s3.uni-jena.de/prod/downloads/{{ $currentYearMonth }}/collections/{{ $slug }}-{{ $currentYearMonth }}.sdf"
class="mt-4 inline-block text-sm text-blue-600 underline">
Download Collection (SDF) <span aria-hidden="true">→</span>
Expand Down

0 comments on commit a3b1b5f

Please sign in to comment.