@use plume_models::{instance::Instance, users::User};
@use templates::base;
@use template_utils::*;
@use routes::*;
@(ctx: BaseContext, instance: Instance, admin: User, n_users: i64, n_articles: i64, n_instances: i64)
@:base(ctx, i18n!(ctx.1, "About {0}"; instance.name.clone()), {}, {}, {
@i18n!(ctx.1, "About {0}"; instance.name)
@Html(instance.short_description_html)
@Html(i18n!(ctx.1, "Home to {0} users"; n_users))
@Html(i18n!(ctx.1, "Who wrote {0} articles"; n_articles))
@Html(i18n!(ctx.1, "And connected to {0} other instances"; n_instances))
@i18n!(ctx.1, "Administred by")
@avatar(ctx.0, &admin, Size::Small, false, ctx.1)
@admin.name()@@@admin.fqn
@i18n!(ctx.1, "Runs Plume {0}"; env!("CARGO_PKG_VERSION"))
@Html(instance.long_description_html)
})