diff options
Diffstat (limited to 'html.c')
| -rw-r--r-- | html.c | 13 |
1 files changed, 1 insertions, 12 deletions
| @@ -273,18 +273,7 @@ xs_str *html_instance_header(xs_str *s) | |||
| 273 | s = xs_str_cat(s, "<div class=\"snac-instance-blurb\">\n"); | 273 | s = xs_str_cat(s, "<div class=\"snac-instance-blurb\">\n"); |
| 274 | 274 | ||
| 275 | { | 275 | { |
| 276 | xs *s1 = xs_fmt( | 276 | xs *s1 = xs_replace(snac_blurb, "%host%", host); |
| 277 | "<p><b>%s</b> is a " | ||
| 278 | "<a href=\"https:/" "/en.wikipedia.org/wiki/Fediverse\">Fediverse</a> " | ||
| 279 | "instance that uses the " | ||
| 280 | "<a href=\"https:/" "/en.wikipedia.org/wiki/ActivityPub\">ActivityPub</a> " | ||
| 281 | "protocol. In other words, users at this host can communicate with people " | ||
| 282 | "that use software like Mastodon, Pleroma, Friendica, etc. " | ||
| 283 | "all around the world.</p>\n" | ||
| 284 | "<p>This server runs the " | ||
| 285 | "<a href=\"" WHAT_IS_SNAC_URL "\">snac</a> software and there is no " | ||
| 286 | "automatic sign-up process.</p>\n", | ||
| 287 | host); | ||
| 288 | s = xs_str_cat(s, s1); | 277 | s = xs_str_cat(s, s1); |
| 289 | } | 278 | } |
| 290 | 279 | ||