Updated album.njk

This commit is contained in:
Bobby Wibowo 2019-09-19 08:30:02 +07:00
parent ea37e0b7d3
commit c3d4bc766e
No known key found for this signature in database
GPG Key ID: 51C3A1E1E22D26CF

View File

@ -42,7 +42,7 @@
</div>
<div class="level-item">
<h1 id="count" class="subtitle">
{{ files.length }} files (<span class="file-size">{{ album.totalSize }} B</span>)
{{ files.length }} file{{ 's' if files.length !== 1 }} (<span class="file-size">{{ album.totalSize }} B</span>)
</h1>
</div>
</div>