mirror of
https://github.com/akveo/ngx-admin.git
synced 2026-01-17 06:55:30 +01:00
fix(docs): og description
This commit is contained in:
parent
91aafdeb9b
commit
6ab0515962
2 changed files with 4 additions and 1 deletions
|
|
@ -11,11 +11,15 @@ export class MetadataService {
|
|||
|
||||
updateTitle(title: string) {
|
||||
this.title.setTitle(title);
|
||||
this.meta.updateTag({ property: 'og:title', content: title });
|
||||
}
|
||||
|
||||
updateDescription(desc: string) {
|
||||
this.meta.updateTag({ name: 'description', content: desc });
|
||||
this.meta.updateTag({ property: 'og:description', content: desc });
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue