Backend for songs.zachdecook.com
index: Add music icon if it has an audio file
| -rw-r--r-- | laravel/resources/views/welcome.blade.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/laravel/resources/views/welcome.blade.php b/laravel/resources/views/welcome.blade.php index 27167fe..b2387c0 100644 --- a/laravel/resources/views/welcome.blade.php +++ b/laravel/resources/views/welcome.blade.php @@ -22,7 +22,7 @@ @foreach( App\Song::orderBy($_GET['sort']??'title')->get() as $song ) <li> <a href='{{ route('song.show', ['song' => $song]) }}'> - {{ $song->name }} + {{ $song->name }}{{ $song->audio ? "🎵" : ""}} </a> @endforeach </ul> |