Using full community title as document.title
This commit is contained in:
parent
ff7e0c72f9
commit
2d00b1d0fb
1 changed files with 2 additions and 2 deletions
4
ui/src/components/community.tsx
vendored
4
ui/src/components/community.tsx
vendored
|
@ -176,8 +176,8 @@ export class Community extends Component<any, State> {
|
||||||
}
|
}
|
||||||
|
|
||||||
get documentTitle(): string {
|
get documentTitle(): string {
|
||||||
if (this.state.community.name) {
|
if (this.state.community.title) {
|
||||||
return `!${this.state.community.name} - ${this.state.site.name}`;
|
return `${this.state.community.title} - ${this.state.site.name}`;
|
||||||
} else {
|
} else {
|
||||||
return 'Lemmy';
|
return 'Lemmy';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue