@use super::{base_html, data_positions_html, photo_link_html}; @use crate::models::Coord; @use crate::server::{Context, PhotoLink}; @use crate::server::search::SearchQuery; @(context: &Context, query: &SearchQuery, n: usize, photos: &[PhotoLink], coords: &[(Coord, i32)]) @:base_html(context, "Search", &[], {}, {

Search@if n > 0 { (@n hits)}

@if !query.q.is_empty() {

Sorry, no raw queries supported yet. Try selection some suggestions (javascript is needed for this, sorry again).

}
@for p in photos {@:photo_link_html(p)}
})