@use templates::base;
@use template_utils::*;
@use plume_models::{instance::Instance, users::User};
@(ctx: BaseContext, instance: Instance, admin: User, n_users: usize, n_articles: usize, n_instances: i64)
@:base(ctx, i18n!(ctx.1, "About {0}"; instance.name.clone()).as_str(), {}, {}, {
@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(ctx.0)@@@admin.get_fqn(ctx.0)
@i18n!(ctx.1, "Runs Plume {0}"; env!("CARGO_PKG_VERSION"))
@Html(instance.long_description_html)
})