2024-03-21 05:19:18 +00:00
|
|
|
{{define "head"}}
|
2024-08-02 21:48:26 +00:00
|
|
|
<title>{{.Title}} - {{.PrintArtists true true}}</title>
|
2024-08-03 22:24:15 +00:00
|
|
|
<link rel="shortcut icon" href="{{.GetArtwork}}" type="image/x-icon">
|
2024-03-21 05:19:18 +00:00
|
|
|
|
2024-08-02 21:48:26 +00:00
|
|
|
<meta name="description" content="Stream "{{.Title}}" by {{.PrintArtists true true}} on all platforms!">
|
2024-08-01 00:39:18 +00:00
|
|
|
<meta name="author" content="{{.PrintArtists true true}}">
|
2024-08-02 21:48:26 +00:00
|
|
|
<meta name="keywords" content="{{.PrintArtists true false}}, music, {{.Title}}, {{.ID}}, {{.GetReleaseYear}}">
|
2024-03-21 05:19:18 +00:00
|
|
|
|
2024-08-02 21:48:26 +00:00
|
|
|
<meta property="og:url" content="https://arimelody.me/music/{{.ID}}">
|
2024-03-21 05:19:18 +00:00
|
|
|
<meta property="og:type" content="website">
|
|
|
|
<meta property="og:locale" content="en_IE">
|
|
|
|
<meta property="og:site_name" content="ari melody music">
|
2024-08-02 21:48:26 +00:00
|
|
|
<meta property="og.Title" content="{{.Title}} - {{.PrintArtists true true}}">
|
|
|
|
<meta property="og:description" content="Stream "{{.Title}}" by {{.PrintArtists true true}} on all platforms!">
|
2024-08-01 00:39:18 +00:00
|
|
|
<meta property="og:image" content="https://arimelody.me{{.GetArtwork}}">
|
2024-03-21 05:19:18 +00:00
|
|
|
|
|
|
|
<meta name="twitter:card" content="summary_large_image">
|
|
|
|
<meta name="twitter:site" content="@funniduck">
|
|
|
|
<meta name="twitter:creator" content="@funniduck">
|
|
|
|
<meta property="twitter:domain" content="arimelody.me">
|
2024-08-02 21:48:26 +00:00
|
|
|
<meta property="twitter:url" content="https://arimelody.me/music/{{.ID}}">
|
|
|
|
<meta name="twitter.Title" content="{{.PrintArtists true true}} - {{.Title}}">
|
|
|
|
<meta name="twitter:description" content="Stream "{{.Title}}" by {{.PrintArtists true true}} on all platforms!">
|
2024-08-01 00:39:18 +00:00
|
|
|
<meta name="twitter:image" content="https://arimelody.me{{.GetArtwork}}">
|
2024-08-02 21:48:26 +00:00
|
|
|
<meta name="twitter:image:alt" content="Cover art for "{{.Title}}"">
|
2024-03-21 05:19:18 +00:00
|
|
|
|
2024-04-16 20:24:05 +00:00
|
|
|
<link rel="stylesheet" href="/style/main.css">
|
2024-03-21 05:19:18 +00:00
|
|
|
<link rel="stylesheet" href="/style/music-gateway.css">
|
|
|
|
{{end}}
|
|
|
|
|
|
|
|
{{define "content"}}
|
|
|
|
<main>
|
2024-07-31 03:09:22 +00:00
|
|
|
<script type="module" src="/script/music-gateway.js"></script>
|
|
|
|
|
2024-08-01 00:39:18 +00:00
|
|
|
<div id="background" style="background-image: url({{.GetArtwork}})"></div>
|
2024-07-31 03:09:22 +00:00
|
|
|
|
2024-08-23 22:08:28 +00:00
|
|
|
<a href="/music" id="go-back" title="back to arimelody.me"><</a>
|
2024-07-31 03:09:22 +00:00
|
|
|
<br><br>
|
|
|
|
|
|
|
|
<div id="music-container">
|
|
|
|
<div id="art-container">
|
|
|
|
<div class="tilt-topleft"></div>
|
|
|
|
<div class="tilt-top"></div>
|
|
|
|
<div class="tilt-topright"></div>
|
|
|
|
<div class="tilt-right"></div>
|
|
|
|
<div class="tilt-bottomright"></div>
|
|
|
|
<div class="tilt-bottom"></div>
|
|
|
|
<div class="tilt-bottomleft"></div>
|
|
|
|
<div class="tilt-left"></div>
|
2024-08-02 21:48:26 +00:00
|
|
|
<img id="artwork" src="{{.GetArtwork}}" alt="{{.Title}} artwork" width=240 height=240>
|
2024-07-31 03:09:22 +00:00
|
|
|
</div>
|
|
|
|
<div id="vertical-line"></div>
|
|
|
|
<div id="info">
|
|
|
|
<div id="overview">
|
|
|
|
<div id="title-container">
|
2024-08-02 21:48:26 +00:00
|
|
|
<h1 id="title">{{.Title}}</h1>
|
2024-07-31 03:09:22 +00:00
|
|
|
<span id="year" title="{{.PrintReleaseDate}}">{{.GetReleaseYear}}</span>
|
2024-03-21 05:19:18 +00:00
|
|
|
</div>
|
2024-08-01 00:39:18 +00:00
|
|
|
<p id="artist">{{.PrintArtists true true}}</p>
|
2024-08-05 15:49:49 +00:00
|
|
|
{{if .IsReleased}}
|
2024-08-02 21:48:26 +00:00
|
|
|
<p id="type" class="{{.ReleaseType}}">{{.ReleaseType}}</p>
|
2024-08-05 15:49:49 +00:00
|
|
|
{{else}}
|
|
|
|
<p id="type" class="upcoming">upcoming</p>
|
2024-08-23 22:08:28 +00:00
|
|
|
<p>Releases: {{.PrintReleaseDate}}</p>
|
2024-08-05 15:49:49 +00:00
|
|
|
{{end}}
|
2024-07-31 03:09:22 +00:00
|
|
|
|
2024-08-31 00:30:30 +00:00
|
|
|
{{if .IsReleased}}
|
2024-07-31 03:09:22 +00:00
|
|
|
<ul id="links">
|
2024-08-02 21:48:26 +00:00
|
|
|
{{if .Buylink}}
|
2024-07-31 03:09:22 +00:00
|
|
|
<li>
|
2024-08-02 21:48:26 +00:00
|
|
|
<a href="{{.Buylink}}" class="buy">{{or .Buyname "buy"}}</a>
|
2024-07-31 03:09:22 +00:00
|
|
|
</li>
|
|
|
|
{{end}}
|
|
|
|
|
2024-08-02 21:48:26 +00:00
|
|
|
{{range .Links}}
|
2024-07-31 03:09:22 +00:00
|
|
|
<li>
|
2024-08-02 21:48:26 +00:00
|
|
|
<a class="{{.NormaliseName}}" href="{{.URL}}">{{.Name}}</a>
|
2024-07-31 03:09:22 +00:00
|
|
|
</li>
|
|
|
|
{{end}}
|
|
|
|
</ul>
|
2024-08-31 00:30:30 +00:00
|
|
|
{{end}}
|
2024-07-31 03:09:22 +00:00
|
|
|
|
2024-08-02 21:48:26 +00:00
|
|
|
{{if .Description}}
|
2024-07-31 03:09:22 +00:00
|
|
|
<p id="description">
|
2024-08-02 21:48:26 +00:00
|
|
|
{{.Description}}
|
2024-07-31 03:09:22 +00:00
|
|
|
</p>
|
|
|
|
{{end}}
|
2024-03-21 05:19:18 +00:00
|
|
|
|
2024-07-31 03:09:22 +00:00
|
|
|
<button id="share">share</button>
|
|
|
|
</div>
|
|
|
|
|
2024-08-05 15:49:49 +00:00
|
|
|
{{if .IsReleased}}
|
|
|
|
|
2024-08-02 21:48:26 +00:00
|
|
|
{{if .Credits}}
|
2024-07-31 03:09:22 +00:00
|
|
|
<div id="credits">
|
|
|
|
<h2>credits:</h2>
|
|
|
|
<ul>
|
2024-08-02 21:48:26 +00:00
|
|
|
{{range .Credits}}
|
|
|
|
{{$Artist := .Artist}}
|
2024-08-05 00:23:17 +00:00
|
|
|
{{if $Artist.GetWebsite}}
|
|
|
|
<li><strong><a href="{{$Artist.GetWebsite}}">{{$Artist.Name}}</a></strong>: {{.Role}}</li>
|
2024-07-31 03:09:22 +00:00
|
|
|
{{else}}
|
2024-08-02 21:48:26 +00:00
|
|
|
<li><strong>{{$Artist.Name}}</strong>: {{.Role}}</li>
|
2024-07-31 03:09:22 +00:00
|
|
|
{{end}}
|
|
|
|
{{end}}
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
{{end}}
|
|
|
|
|
|
|
|
{{if .IsSingle}}
|
2024-08-31 01:56:06 +00:00
|
|
|
|
2024-08-02 21:48:26 +00:00
|
|
|
{{$Track := index .Tracks 0}}
|
|
|
|
{{if $Track.Lyrics}}
|
2024-07-31 03:09:22 +00:00
|
|
|
<div id="lyrics">
|
2024-08-31 01:56:06 +00:00
|
|
|
<p class="album-track-subheading">LYRICS</p>
|
|
|
|
{{if $Track.Lyrics}}
|
|
|
|
{{$Track.Lyrics}}
|
|
|
|
{{else}}
|
|
|
|
<span class="empty">No lyrics.</span>
|
|
|
|
{{end}}
|
2024-07-31 03:09:22 +00:00
|
|
|
</div>
|
|
|
|
{{end}}
|
2024-08-31 01:56:06 +00:00
|
|
|
|
|
|
|
{{else if .Tracks}}
|
2024-07-31 03:09:22 +00:00
|
|
|
<div id="tracks">
|
|
|
|
<h2>tracks:</h2>
|
2024-08-02 21:48:26 +00:00
|
|
|
{{range $i, $track := .Tracks}}
|
2024-07-31 03:09:22 +00:00
|
|
|
<details>
|
2024-08-02 21:48:26 +00:00
|
|
|
<summary class="album-track-title">{{$track.Number}}. {{$track.Title}}</summary>
|
2024-08-23 22:08:28 +00:00
|
|
|
|
|
|
|
{{if $track.Description}}
|
|
|
|
<p class="album-track-subheading">DESCRIPTION</p>
|
|
|
|
{{$track.Description}}
|
|
|
|
{{end}}
|
|
|
|
|
|
|
|
<p class="album-track-subheading">LYRICS</p>
|
2024-08-03 22:24:15 +00:00
|
|
|
{{if $track.Lyrics}}
|
2024-08-02 21:48:26 +00:00
|
|
|
{{$track.Lyrics}}
|
2024-08-03 22:24:15 +00:00
|
|
|
{{else}}
|
|
|
|
<span class="empty">No lyrics.</span>
|
|
|
|
{{end}}
|
2024-07-31 03:09:22 +00:00
|
|
|
</details>
|
|
|
|
{{end}}
|
|
|
|
</div>
|
|
|
|
{{end}}
|
2024-08-05 15:49:49 +00:00
|
|
|
|
|
|
|
{{end}}
|
2024-07-31 03:09:22 +00:00
|
|
|
</div>
|
|
|
|
|
2024-08-05 15:49:49 +00:00
|
|
|
{{if .IsReleased}}
|
2024-07-31 03:09:22 +00:00
|
|
|
<div id="extras">
|
|
|
|
<ul>
|
|
|
|
<li><a href="#overview">overview</a></li>
|
2024-08-02 21:48:26 +00:00
|
|
|
{{if .Credits}}
|
2024-07-31 03:09:22 +00:00
|
|
|
<li><a href="#credits">credits</a></li>
|
|
|
|
{{end}}
|
|
|
|
|
|
|
|
{{if .IsSingle}}
|
2024-08-02 21:48:26 +00:00
|
|
|
{{$Track := index .Tracks 0}}
|
|
|
|
{{if $Track.Lyrics}}
|
2024-07-31 03:09:22 +00:00
|
|
|
<li><a href="#lyrics">lyrics</a></li>
|
|
|
|
{{end}}
|
2024-08-31 01:56:06 +00:00
|
|
|
{{else if .Tracks}}
|
2024-07-31 03:09:22 +00:00
|
|
|
<li><a href="#tracks">tracks</a></li>
|
2024-03-21 05:19:18 +00:00
|
|
|
{{end}}
|
2024-07-31 03:09:22 +00:00
|
|
|
</ul>
|
2024-03-21 05:19:18 +00:00
|
|
|
</div>
|
2024-08-05 15:49:49 +00:00
|
|
|
{{end}}
|
2024-07-31 03:09:22 +00:00
|
|
|
</div>
|
2024-03-21 05:19:18 +00:00
|
|
|
</main>
|
|
|
|
{{end}}
|