From: Dessalines Date: Wed, 29 Jul 2020 04:29:19 +0000 (-0400) Subject: Using full community title as document.title X-Git-Url: http://these/git/%22https:/image.com/readmes/%22%7Burl%7D/static/%7BjoinLemmyUrl%7D?a=commitdiff_plain;h=2d00b1d0fb4bd32a5db7754d4ecfb16a8ad411f4;p=lemmy.git Using full community title as document.title --- diff --git a/ui/src/components/community.tsx b/ui/src/components/community.tsx index 76e6450e..579b4c19 100644 --- a/ui/src/components/community.tsx +++ b/ui/src/components/community.tsx @@ -176,8 +176,8 @@ export class Community extends Component { } get documentTitle(): string { - if (this.state.community.name) { - return `!${this.state.community.name} - ${this.state.site.name}`; + if (this.state.community.title) { + return `${this.state.community.title} - ${this.state.site.name}`; } else { return 'Lemmy'; }