{{ album.name }} {% assign total = 0 %} {% for track in album.tracks %} {% assign total = total | plus: track.format.duration %} {% endfor %} {% assign round_seconds = total | 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 }} {{ album.date | date: '%Y' }}