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"> <section style="padding-top:40px">
{% include author.html %} {% include author.html %}
<!-- Content --> <!-- Content -->
{% if page.all.UNSYNCEDLYRICS != nil %}
<div class="content"> <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;"> <p style="font-family: monospace;font-size:16px;">
{{ page.all.UNSYNCEDLYRICS | newline_to_br }} {{ page.all.UNSYNCEDLYRICS | newline_to_br }}
</p> </p>
{% endif %}
<p> <p>
{{ page.all.Comment }} {{ page.all.Comment }}
</p> </p>
</div> </div>
{% endif %}
</section> </section>
</div> </div>
</div> </div>