38 lines
1.3 KiB
Plaintext
38 lines
1.3 KiB
Plaintext
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title><%= track.title %></title>
|
|
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
|
|
<style>
|
|
body {
|
|
background-color: black;
|
|
color: white;
|
|
font-family: 'Metal Mania', sans-serif;
|
|
}
|
|
.card {
|
|
background-color: #222;
|
|
border: 1px solid #444;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="container mt-5">
|
|
<div class="card text-center">
|
|
<div class="card-body">
|
|
<h1 class="card-title"><%= track.title %></h1>
|
|
<iframe width="100%" height="166" scrolling="no" frameborder="no" allow="autoplay"
|
|
src="https://w.soundcloud.com/player/?url=<%= track.url %>&color=%23ff5500&auto_play=false&show_artwork=true">
|
|
</iframe>
|
|
<p class="card-text">
|
|
<%- (track.description && track.description.trim())
|
|
? track.description.replace(/\n/g, '<br>')
|
|
: 'No description available for this track.' %>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|