@use crate::comments::{CommentNode, ItemWithAuthor}; @use crate::templates::comments::{nodes, profile_box}; @use hyaenidae_toolkit::templates::link; @use hyaenidae_toolkit::templates::{nested_children, nested_node}; @(node: &CommentNode, replying_to: &ItemWithAuthor, logged_in: bool, dark: bool) @if let Some((comment, author)) = node.item.comment() { @:nested_node({ @:profile_box(author, comment, replying_to, dark, {