@use super::{base, data_positions, photo_link}; @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(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(p)}
})