fix: handle "?" as an empty song description

that's what the API returns
This commit is contained in:
Solomon Victorino 2024-05-11 23:56:37 -06:00
parent 119843dad7
commit 74b6f943fc

View File

@ -23,7 +23,7 @@ templ LyricsPage(s data.Song) {
@templ.Raw(s.Lyrics)
</div>
<div id="info">
if s.About[0] != "" {
if s.About[0] != "?" {
<div id="about">
<h1 id="title">About</h1>
<p class="hidden" id="full_about">{ s.About[0] }</p>