use standard ID3 tag for lyrics aswell

This commit is contained in:
Set Hallstrom 2020-07-27 14:16:59 +02:00
parent a4abf47b7d
commit 3275326473

View file

@ -54,17 +54,24 @@ layout: default
<section style="padding-top:40px">
{% include author.html %}
<!-- Content -->
{% if page.all.UNSYNCEDLYRICS != nil %}
<div class="content">
{% unless page.all.UNSYNCEDLYRICS == '' %}<h2>Lyrics</h2>{% endunless %}
{% if page.all.UNSYNCEDLYRICS and page.all.USLT %}
<p style="font-family: monospace;font-size:16px;">
{{ page.all.USLT.text | newline_to_br }}
</p>
{% elsif page.all.USLT and page.all.UNSYNCEDLYRICS == nil %}
<p style="font-family: monospace;font-size:16px;">
{{ page.all.USLT.text | newline_to_br }}
</p>
{% elsif page.all.UNSYNCEDLYRICS and page.all.USLT == nil %}
<p style="font-family: monospace;font-size:16px;">
{{ page.all.UNSYNCEDLYRICS | newline_to_br }}
</p>
{% endif %}
<p>
{{ page.all.Comment }}
</p>
</div>
{% endif %}
</section>
</div>
</div>