Skip to content

Commit bec2d8c

Browse files
committed
docs: replace '|' with '•' in title separator for consistency with Angular
1 parent 9951497 commit bec2d8c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/src/app/pages/page-title/page-title.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
import {Injectable, inject} from '@angular/core';
1010
import {Title} from '@angular/platform-browser';
1111

12+
export const TITLE_SEPARATOR = ' • ';
13+
1214
/**
1315
* Service responsible for setting the title that appears above the components and guide pages.
1416
*/
@@ -26,7 +28,7 @@ export class ComponentPageTitle {
2628
set title(title: string) {
2729
this._title = title;
2830
if (title !== '') {
29-
title = `${title} | Angular Material`;
31+
title = `${title} ${TITLE_SEPARATOR} Angular Material`;
3032
} else {
3133
title = this._originalTitle;
3234
}

0 commit comments

Comments
 (0)