relay/templates/info.rs.html
2022-11-21 14:23:37 -06:00

17 lines
384 B
HTML

@use crate::db::Info;
@use activitystreams::iri_string::types::IriString;
@(info: &Info, base: &IriString)
<section class="info">
@if let Some(authority) = base.authority_str() {
<h4 class="padded"><a href="@base">@authority</a></h4>
}
<p class="padded">
Running @info.software, version @info.version.
@if info.reg {
Registration is open
}
</p>
</section>