diff options
author | Colin Reeder <colin@vpzom.click> | 2020-07-09 23:31:07 -0600 |
---|---|---|
committer | Colin Reeder <colin@vpzom.click> | 2020-07-09 23:31:07 -0600 |
commit | 46aaf2ca30384e05f9a387097078076103f7116c (patch) | |
tree | f5ce2515f10f36dd52c16039e965f06235671d5c | |
parent | 7e2262e128f3313c0ca9878a4507574b0d8ef0a4 (diff) |
Show host of community on community page (#52)
-rw-r--r-- | src/routes/communities.rs | 3 |
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() { |