From 6f1c79a856bf9c4105777203ab5170e4ae863efa Mon Sep 17 00:00:00 2001 From: Set Hallstrom Date: Fri, 16 Oct 2020 12:44:31 +0200 Subject: [PATCH] add lyrics to release page --- _layouts/post.html | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/_layouts/post.html b/_layouts/post.html index a65ac8d..6927312 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -140,6 +140,31 @@ layout: default | {{ track.common.genre }}

{{ track.common.year }}

🔊 Play

+ {% if track.all.UNSYNCEDLYRICS and track.all.USLT %} + +

+ {{ track.all.USLT.text | newline_to_br }} +

+ + {% elsif track.all.USLT and track.all.UNSYNCEDLYRICS == nil %} + +

+ {{ track.all.USLT.text | newline_to_br }} +

+ + {% elsif track.all.UNSYNCEDLYRICS and track.all.USLT == nil %} + +

+ {{ track.all.UNSYNCEDLYRICS | newline_to_br }} +

+ + {% elsif track.all.lyrics %} + +

+ {{ track.all.lyrics | newline_to_br }} +

+ + {% endif %}