relay/templates/info.rs.html

17 lines
385 B
HTML
Raw Normal View History

@use crate::data::Info;
2020-06-20 04:11:02 +00:00
@use activitystreams_new::url::Url;
2020-06-20 04:11:02 +00:00
@(info: &Info, base: &Url)
<article class="info">
2020-06-20 04:11:02 +00:00
@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>