diff --git a/src/app/views/songs.zig b/src/app/views/songs.zig index 24e4f86..da69feb 100644 --- a/src/app/views/songs.zig +++ b/src/app/views/songs.zig @@ -35,6 +35,7 @@ pub fn get(id: []const u8, request: *jetzig.Request) !jetzig.View { } else { // It could be a variety of songs const songs = try queries.entityQueryResult(request, queries.loadQuery(.song, .entities_by_name), .{rn}); + try root.put("name", rn); try root.put("songs", songs); try root.put("disambiguation", true); return request.render(.ok); diff --git a/src/app/views/songs/get.zmpl b/src/app/views/songs/get.zmpl index e2f6b54..05e2313 100644 --- a/src/app/views/songs/get.zmpl +++ b/src/app/views/songs/get.zmpl @@ -12,7 +12,7 @@ @partial partials/header @if ($.disambiguation) -

Songs

+

{{.name}} (disambiguation)

@partial partials/newtable(T: ColumnChoices, table_data: .songs, columns: dis_columns) @else