remove hardcoded fontstyle and fix track duration
This commit is contained in:
parent
1ccae56170
commit
a9d285c464
5 changed files with 17 additions and 15 deletions
|
|
@ -66,10 +66,10 @@ logo_image: /siteicon.png
|
|||
<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> |
|
||||
<span style="font-family: monospace;font-size: 14px">{{ track.common.genre }} </span>
|
||||
<span style="font-size: 14px">{{ track.common.genre }} </span>
|
||||
</p>
|
||||
|
||||
|
||||
|
|
@ -106,7 +106,7 @@ logo_image: /siteicon.png
|
|||
|
||||
|
||||
{% assign sorted = site.posts | sort: 'date' | reverse %}
|
||||
{% for album in sorted | offset: '1' %}
|
||||
{% for album in sorted offset: '1' %}
|
||||
{% if album.category == 'releases' %}
|
||||
<section
|
||||
class="spotlight style5 orient-{% cycle 'left', 'right' %} content-align-{% cycle 'right', 'left' %} image-position-center onscroll-image-fade-in"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue