@use crate::{ config::{Config, UrlKind}, data::Node, templates::{info, instance, statics::index_css}, }; @(nodes: &[Node], config: &Config) @config.hostname() | ActivityPub Relay

@config.software_name()

on @config.hostname()

Connected Servers

@if nodes.is_empty() {

There are no connected servers at this time.

} else { }

Joining

If you are the admin of a server that supports activitypub relays, you can add this relay to your server.

Mastodon

Mastodon admins can add this relay by adding

@config.generate_url(UrlKind::Inbox)
in their relay settings.

Pleroma

Pleroma admins can add this relay by adding

@config.generate_url(UrlKind::Actor)
to their relay settings (I don't actually know how pleroma handles adding relays, is it still a mix command?).

Others

Consult the documentation for your server. It's likely that it follows either Mastodon or Pleroma's relay formatting.