@use ::{Group, Link}; @use templates::page_base; @(title: &str, lpath: &[Link], user: Option, groups: &[Group]) @:page_base(title, lpath, user, {
@if groups.is_empty() {

Inga bilder.

} @for g in groups {

@g.title

@g.count pictures

}
})