Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion docs/src/app/pages/page-title/page-title.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
import {Injectable, inject} from '@angular/core';
import {Title} from '@angular/platform-browser';

export const TITLE_SEPARATOR = ' • ';

/**
* Service responsible for setting the title that appears above the components and guide pages.
*/
Expand All @@ -26,7 +28,7 @@ export class ComponentPageTitle {
set title(title: string) {
this._title = title;
if (title !== '') {
title = `${title} | Angular Material`;
title = `${title} ${TITLE_SEPARATOR} Angular Material`;
} else {
title = this._originalTitle;
}
Expand Down
Loading