Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Enlcxx committed Sep 16, 2019
1 parent cb7c113 commit 85385ec
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions src/app/document/title/title.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export class TitleComponent implements OnInit {
title: string;
urls: string[];
defaultTitle = 'Alyle UI';
longTitle = 'Alyle UI | Minimal Design, a set of components for Angular.';

set route(val: string) {
if (val !== this.route) {
Expand All @@ -37,11 +38,11 @@ export class TitleComponent implements OnInit {
this.titleService.setTitle(`${this.title} | ${this.defaultTitle}`);
}
} else {
this.titleService.setTitle(this.defaultTitle);
this.titleService.setTitle(this.longTitle);
}
} else {
this.title = '';
this.titleService.setTitle(this.defaultTitle);
this.titleService.setTitle(this.longTitle);
}

this._ads.update(val, this._pageContent, this._theme);
Expand Down
2 changes: 1 addition & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="utf-8">
<title>Alyle UI</title>
<title>Alyle UI | Minimal Design, a set of components for Angular.</title>
<base href="/">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.ico">
Expand Down

0 comments on commit 85385ec

Please sign in to comment.