@use template_utils::*; @use plume_models::comments::Comment; @use plume_models::users::User; @(ctx: BaseContext, comm: &Comment, author: User)
@avatar(ctx.0, &author, Size::Small, true, ctx.1) @author.name(ctx.0) @author.get_fqn(ctx.0)
@if comm.sensitive {
@comm.spoiler_text } @Html(&comm.content) @if comm.sensitive {
}
@i18n!(ctx.1, "Respond") @for res in comm.get_responses(ctx.0) { @:comment(ctx, &res, res.get_author(ctx.0)) }