blob: cea6cb1e1c27690dbb4d4c34d532890a2db538d5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
/*
This file is part of jellything (https://codeberg.org/metamuffin/jellything)
which is licensed under the GNU Affero General Public License (version 3); see /COPYING.
Copyright (C) 2026 metamuffin <metamuffin.org>
*/
use crate::{RenderInfo, components::node_card::NodeCard};
use jellycommon::{jellyobject::Object, *};
markup::define! {
NodeList<'a>(ri: &'a RenderInfo<'a>, nl: Object<'a>) {
ul.nl.grid { @for nku in nl.iter(NODELIST_ITEM) {
li { @NodeCard { ri, nku } }
}}
}
}
|