relay/templates/info.rs.html
2020-09-07 16:51:02 -05:00

16 lines
381 B
HTML

@use crate::data::Info;
@use activitystreams::url::Url;
@(info: &Info, base: &Url)
<article class="info">
@if let Some(domain) = base.domain() {
<h4 class="padded"><a href="@base">@domain</a></h4>
}
<p class="padded">
Running @info.software, version @info.version.
@if info.reg {
Registration is open
}
</p>
</article>