File tree Expand file tree Collapse file tree 2 files changed +12
-4
lines changed
Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -75,10 +75,13 @@ import { SeoService } from '@trilon/ng-universal';
7575 selector: ' app-root'
7676})
7777export 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```
Original file line number Diff line number Diff line change @@ -75,7 +75,10 @@ import { SeoService } from '@trilon/ng-universal';
7575 selector: ' app-root'
7676})
7777export 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```
You can’t perform that action at this time.
0 commit comments