summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Reeder <colin@vpzom.click>2020-07-09 23:31:07 -0600
committerColin Reeder <colin@vpzom.click>2020-07-09 23:31:07 -0600
commit46aaf2ca30384e05f9a387097078076103f7116c (patch)
treef5ce2515f10f36dd52c16039e965f06235671d5c
parent7e2262e128f3313c0ca9878a4507574b0d8ef0a4 (diff)
Show host of community on community page (#52)
-rw-r--r--src/routes/communities.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/routes/communities.rs b/src/routes/communities.rs
index 4e6d694..dd58825 100644
--- a/src/routes/communities.rs
+++ b/src/routes/communities.rs
@@ -142,7 +142,8 @@ async fn page_community(
Ok(html_response(render::html! {
<HTPage base_data={&base_data} title>
- <h1>{title}</h1>
+ <h1 style={"margin-bottom: 0"}>{title}</h1>
+ <em>{format!("@{}@{}", community_info.as_ref().name, community_info.as_ref().host)}</em>
<p>
{
if base_data.login.is_some() {