summaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2023-08-14 18:02:20 +0200
committerdefault <nobody@localhost>2023-08-14 18:02:20 +0200
commit3f7e3c1d81fef35eada041b7d901974129238dce (patch)
tree1b5be2a1b9eefe9f76ac95a757eab536a004d04e /html.c
parent16c14060a81d4f7ed6be0bf5f95ca3c77733c18f (diff)
Unify the instance description text.
Diffstat (limited to 'html.c')
-rw-r--r--html.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/html.c b/html.c
index 126f4ab..f7fa520 100644
--- a/html.c
+++ b/html.c
@@ -273,18 +273,7 @@ xs_str *html_instance_header(xs_str *s)
s = xs_str_cat(s, "<div class=\"snac-instance-blurb\">\n");
{
- xs *s1 = xs_fmt(
- "<p><b>%s</b> is a "
- "<a href=\"https:/" "/en.wikipedia.org/wiki/Fediverse\">Fediverse</a> "
- "instance that uses the "
- "<a href=\"https:/" "/en.wikipedia.org/wiki/ActivityPub\">ActivityPub</a> "
- "protocol. In other words, users at this host can communicate with people "
- "that use software like Mastodon, Pleroma, Friendica, etc. "
- "all around the world.</p>\n"
- "<p>This server runs the "
- "<a href=\"" WHAT_IS_SNAC_URL "\">snac</a> software and there is no "
- "automatic sign-up process.</p>\n",
- host);
+ xs *s1 = xs_replace(snac_blurb, "%host%", host);
s = xs_str_cat(s, s1);
}