Browse Source

Using full community title as document.title

pull/74/head
Dessalines 1 year ago
parent
commit
2d00b1d0fb
  1. 4
      ui/src/components/community.tsx

4
ui/src/components/community.tsx

@ -176,8 +176,8 @@ export class Community extends Component<any, State> {
}
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';
}

Loading…
Cancel
Save