font family and track lyrics

This commit is contained in:
Set Hallstrom 2020-07-28 14:45:01 +02:00
parent 76a7a7bff9
commit 7c9c74fe10
8 changed files with 39 additions and 19 deletions

View file

@ -48,10 +48,10 @@ image: /assets/img/discog2014.jpg
<p>{{ album.date | date: '%Y' }}</p>
{% for track in album.tracks %}
<p style="margin-bottom: 30px; font-family: monospace;font-size: 14px">
<p style="margin-bottom: 30px;font-size: 14px">
<strong>{{ track.common.track.no }}. {{ track.common.title }}</strong><br />
<span>{% assign round_seconds = track.format.duration | round %}{% assign minutes = round_seconds | divided_by: 60 %}{% assign leftover_seconds = minutes | times: 60 %}{{ minutes }}:{% assign seconds_without_zero = round_seconds | minus: leftover_seconds %}{% if seconds_without_zero < 10 %}0{% endif %}{{ seconds_without_zero }}</span>{% if track.common.genre != null %} |
<span style="font-family: monospace;font-size: 14px">{{ track.common.genre }} </span>{% endif %}
<span style="font-size: 14px">{{ track.common.genre }} </span>{% endif %}
</p>