@use crate::{data::{Contact, Instance}, templates::admin}; @use activitystreams::primitives::XsdAnyUri; @(instance: &Instance, software: Option<&str>, contact: Option<&Contact>, base: &XsdAnyUri)

@instance.title

@if let Some(software) = software { Running @software, version @instance.version. } @if instance.reg {
Registration is open. @if instance.requires_approval { Accounts must be approved by an admin. } } else{ Registration is closed }

Description:
@Html(&instance.description)
@if let Some(contact) = contact { @:admin(contact) }