@use plume_models::comments::CommentTree; @use crate::template_utils::*; @use crate::routes::*; @(ctx: BaseContext, comment_tree: &CommentTree, in_reply_to: Option<&str>, blog: &str, slug: &str) @if let Some(comm) = Some(&comment_tree.comment) { @if let Ok(author) = comm.get_author(ctx.0) { @* comment-@comm.id is used for link *@
@if let Ok(post) = comm.get_post(ctx.0) { @* comment-@comm.id is same to this div's id attribute *@ @comm.creation_date.format("%B %e, %Y %H:%M") }
@if let Some(ref in_reply_to) = in_reply_to { }@comm.spoiler_text
} @Html(&comm.content) @if comm.sensitive {