/* 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 */ pub mod message; pub mod node_page; pub mod props; pub mod stats; use crate::{RenderInfo, components::message::Message}; use jellycommon::{VIEW_MESSAGE, jellyobject::Object}; use markup::define; define! { View<'a>(ri: &'a RenderInfo<'a>, view: Object<'a>) { @if let Some(message) = view.get(VIEW_MESSAGE) { @Message { ri, message } } } }