show total counts on releases/artists/tracks pages

This commit is contained in:
ari melody 2025-10-21 18:45:53 +01:00
parent b0dd87cad3
commit 774fb870fc
Signed by: ari
GPG key ID: CF99829C92678188
4 changed files with 8 additions and 6 deletions

View file

@ -8,7 +8,7 @@
{{define "content"}}
<main>
<header>
<h1><a href="/admin/releases/">Releases</a></h1>
<h1><a href="/admin/releases/">Releases</a> <small>({{len .Releases}} total)</small></h1>
<a class="button new" id="create-release">Create New</a>
</header>