Commit 8d20be4c authored by Mark Harding's avatar Mark Harding

(chore): change homepage title to Minds Social Network

parent f66a1a3a
No related merge requests found
Pipeline #64259446 passed with stages
in 27 minutes and 47 seconds
......@@ -40,7 +40,7 @@ export class HomepageComponent {
private loginReferrer: LoginReferrerService,
public session: Session
) {
this.title.setTitle('');
this.title.setTitle('Minds Social Network', false);
this.loadStream();
if (this.session.isLoggedIn()) {
......
......@@ -13,11 +13,13 @@ export class MindsTitle {
constructor(public title: Title) { }
setTitle(value: string) {
setTitle(value: string, join = true) {
let title;
if (value) {
if (value && join) {
title = [value, this.default_title].join(this.sep);
} else if (value) {
title = value;
} else {
title = this.default_title;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment