Skip to content

Commit 16638ba

Browse files
committed
docs: update
1 parent b25e7dc commit 16638ba

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,13 @@ import { SeoService } from '@trilon/ng-universal';
7575
selector: 'app-root'
7676
})
7777
export class AppComponent {
78-
constructor(private seo: SeoService) {
78+
79+
constructor(
80+
private seo: SeoService
81+
) {
7982
const config: SeoConfig = {
80-
title: 'Trilon Ng-Universal Demo',
81-
description: 'SEO - Description',
83+
title: 'Trilon SeoService Demo',
84+
description: 'Trilon SEO - Description',
8285
locale: 'en_US',
8386
url: 'https://trilon.io',
8487
type: 'website',
@@ -106,6 +109,7 @@ export class AppComponent {
106109
// initialize your base Meta setup
107110
// (this can be done again at any point if you need to replace it entirely)
108111
this.seo.initializeBaseMeta(config);
112+
// ^^^^
109113
}
110114
}
111115
```

libraries/ng-universal/README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,10 @@ import { SeoService } from '@trilon/ng-universal';
7575
selector: 'app-root'
7676
})
7777
export class AppComponent {
78-
constructor(private seo: SeoService) {
78+
79+
constructor(
80+
private seo: SeoService
81+
) {
7982
const config: SeoConfig = {
8083
title: 'Trilon SeoService Demo',
8184
description: 'Trilon SEO - Description',
@@ -106,6 +109,7 @@ export class AppComponent {
106109
// initialize your base Meta setup
107110
// (this can be done again at any point if you need to replace it entirely)
108111
this.seo.initializeBaseMeta(config);
112+
// ^^^^
109113
}
110114
}
111115
```

0 commit comments

Comments
 (0)