Dont show album art if url not defined
This commit is contained in:
parent
01cf40d1b8
commit
7ba32186cf
2 changed files with 3 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
|||
|
||||
return [
|
||||
'name' => env('APP_NAME', 'wah.moe'),
|
||||
'version' => '2025.08.30',
|
||||
'version' => '2025.08.30-patch0',
|
||||
'env' => env('APP_ENV', 'production'),
|
||||
'debug' => (bool) env('APP_DEBUG', false),
|
||||
'url' => env('APP_URL', 'http://localhost'),
|
||||
|
|
|
@ -13,9 +13,11 @@
|
|||
<br>
|
||||
@else
|
||||
<div class="current-track">
|
||||
@if (isset($artUrl))
|
||||
<div>
|
||||
<img src="{{ $artUrl }}" alt="Album cover for {{ $track["title"] }} by {{ $track["artist"] }}">
|
||||
</div>
|
||||
@endif
|
||||
<div>
|
||||
<h2>{{ $track["header"] }}:</h2>
|
||||
<a href="{{ $track["url"] }}"><font color="#000000">{{ $track["title"] }}</font></a><br>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue