@use crate::{Collection, Entry, State};
@use super::{layout_html, image_html, return_home_html};
@use uuid::Uuid;
@(id: Uuid, collection: &Collection, entries: &[(Uuid, Entry)], state: &State)
@:layout_html(state, &collection.title, Some(&collection.description), {
@for (_, entry) in entries {
@if let Some(filename) = entry.filename() {
}
}
}, {
@collection.title
@for (id, entry) in entries {
-
@:image_html(*id, entry, state)
}
@:return_home_html(state)
})