fix silly admin routing nonsense

This commit is contained in:
ari melody 2025-11-08 14:13:42 +00:00
parent 09c09b6310
commit a33e6717e0
Signed by: ari
GPG key ID: CF99829C92678188
6 changed files with 57 additions and 58 deletions

View file

@ -31,13 +31,13 @@
<hr>
<p class="section-label">music</p>
<div class="nav-item{{if hasPrefix .Path "/releases"}} active{{end}}">
<div class="nav-item{{if hasPrefix .Path "/music/releases"}} active{{end}}">
<a href="/admin/music/releases/">releases</a>
</div>
<div class="nav-item{{if hasPrefix .Path "/artists"}} active{{end}}">
<div class="nav-item{{if hasPrefix .Path "/music/artists"}} active{{end}}">
<a href="/admin/music/artists/">artists</a>
</div>
<div class="nav-item{{if hasPrefix .Path "/tracks"}} active{{end}}">
<div class="nav-item{{if hasPrefix .Path "/music/tracks"}} active{{end}}">
<a href="/admin/music/tracks/">tracks</a>
</div>