Fix albums index function

Not as fragile as I thought
This commit is contained in:
mitteneer 2025-03-04 12:08:50 -05:00
parent 8a70239170
commit 829b46cc63

View file

@ -5,13 +5,13 @@
</head>
<body>
@partial partials/header
<h1> Artists</h1>
<h1>Albums</h1>
<table>
<tr>
<th>Name</th>
@for (.artists) |artist| {
@for (.albums) |album| {
<tr>
<td class=cell><a href="/artists/{{artist.url}}">{{artist.name}}</a></td>
<td class=cell><a href="/albums/{{album.url}}">{{album.name}}</a></td>
</tr>
}
</table>