diff --git a/client/wfnews-war/src/main/angular/src/app/app.component.ts b/client/wfnews-war/src/main/angular/src/app/app.component.ts index 8e4e23001..6e922ada3 100644 --- a/client/wfnews-war/src/main/angular/src/app/app.component.ts +++ b/client/wfnews-war/src/main/angular/src/app/app.component.ts @@ -286,7 +286,7 @@ export class AppComponent implements OnDestroy, OnInit, AfterViewInit { this.metaService.updateTag({ property: 'og:title', content: 'BC Wildfire Service' }); this.metaService.updateTag({ property: 'og:image', content: imageUrl }); this.metaService.updateTag({ property: 'og:site_name', content: 'BC Wildfire Service' }); - this.metaService.updateTag({ name: 'description', content: `BC Wildfire Service App` }); + this.metaService.updateTag({ property: 'og:description', content: `BC Wildfire Service App` }); this.metaService.updateTag({ name: 'twitter:card', content: 'summary_large_image' }); this.metaService.updateTag({ name: 'twitter:site', content: '@BCGovFireInfo' }); this.metaService.updateTag({ property: 'twitter:image', content: imageUrl }); diff --git a/client/wfnews-war/src/main/angular/src/app/components/full-details/area-restrictions-full-details/area-restrictions-full-details.component.ts b/client/wfnews-war/src/main/angular/src/app/components/full-details/area-restrictions-full-details/area-restrictions-full-details.component.ts index 13170c0c6..c8f858f1e 100644 --- a/client/wfnews-war/src/main/angular/src/app/components/full-details/area-restrictions-full-details/area-restrictions-full-details.component.ts +++ b/client/wfnews-war/src/main/angular/src/app/components/full-details/area-restrictions-full-details/area-restrictions-full-details.component.ts @@ -71,7 +71,7 @@ export class AreaRestrictionsFullDetailsComponent implements OnInit { }); this.initMap(); this.metaService.updateTag({ property: 'og:title', content: this.restrictionData?.name }); - this.metaService.updateTag({ name: 'description', content: this.restrictionData?.name }); + this.metaService.updateTag({ property: 'og:description', content: this.restrictionData?.name }); } diff --git a/client/wfnews-war/src/main/angular/src/app/components/full-details/bans-full-details/bans-full-details.component.ts b/client/wfnews-war/src/main/angular/src/app/components/full-details/bans-full-details/bans-full-details.component.ts index 507b74189..541420809 100644 --- a/client/wfnews-war/src/main/angular/src/app/components/full-details/bans-full-details/bans-full-details.component.ts +++ b/client/wfnews-war/src/main/angular/src/app/components/full-details/bans-full-details/bans-full-details.component.ts @@ -54,7 +54,7 @@ export class BansFullDetailsComponent implements OnInit { }); this.initMap(); this.metaService.updateTag({ property: 'og:title', content: `Fire Ban on ${this.banData.description} Open Fires`}); - this.metaService.updateTag({ name: 'description', content: `Fire Ban on ${this.banData.description} Open Fires` }); + this.metaService.updateTag({ property: 'og:description', content: `Fire Ban on ${this.banData.description} Open Fires` }); } async initMap() { diff --git a/client/wfnews-war/src/main/angular/src/app/components/full-details/danger-rating-full-details/danger-rating-full-details.component.ts b/client/wfnews-war/src/main/angular/src/app/components/full-details/danger-rating-full-details/danger-rating-full-details.component.ts index f79388ef2..1625b674c 100644 --- a/client/wfnews-war/src/main/angular/src/app/components/full-details/danger-rating-full-details/danger-rating-full-details.component.ts +++ b/client/wfnews-war/src/main/angular/src/app/components/full-details/danger-rating-full-details/danger-rating-full-details.component.ts @@ -36,7 +36,7 @@ export class DangerRatingFullDetailsComponent implements OnInit { async ngOnInit(): Promise { this.initMap(); this.metaService.updateTag({ property: 'og:title', content: `${this.rating} Danger Rating`}); - this.metaService.updateTag({ name: 'description', content: `${this.rating} Danger Rating` }); + this.metaService.updateTag({ property: 'og:description', content: `${this.rating} Danger Rating` }); } dangerDescription() { diff --git a/client/wfnews-war/src/main/angular/src/app/components/full-details/evac-alert-full-details/evac-alert-full-details.component.ts b/client/wfnews-war/src/main/angular/src/app/components/full-details/evac-alert-full-details/evac-alert-full-details.component.ts index 0b63ab32b..27ff7d281 100644 --- a/client/wfnews-war/src/main/angular/src/app/components/full-details/evac-alert-full-details/evac-alert-full-details.component.ts +++ b/client/wfnews-war/src/main/angular/src/app/components/full-details/evac-alert-full-details/evac-alert-full-details.component.ts @@ -64,7 +64,7 @@ export class EvacAlertFullDetailsComponent implements OnInit { }); this.initMap(); this.metaService.updateTag({ property: 'og:title', content: `Evacuation Alert for ${this.evacData.name}`}); - this.metaService.updateTag({ name: 'description', content: `Evacuation Alert for ${this.evacData.name}` }); + this.metaService.updateTag({ property: 'og:description', content: `Evacuation Alert for ${this.evacData.name}` }); } diff --git a/client/wfnews-war/src/main/angular/src/app/components/public-incident-page/incident-info-header/incident-header-panel.component.ts b/client/wfnews-war/src/main/angular/src/app/components/public-incident-page/incident-info-header/incident-header-panel.component.ts index 347706f84..29a11da4f 100644 --- a/client/wfnews-war/src/main/angular/src/app/components/public-incident-page/incident-info-header/incident-header-panel.component.ts +++ b/client/wfnews-war/src/main/angular/src/app/components/public-incident-page/incident-info-header/incident-header-panel.component.ts @@ -150,7 +150,7 @@ export class IncidentHeaderPanelComponent implements AfterViewInit, OnInit { } } this.metaService.updateTag({ property: 'og:title', content: `${this.incident?.incidentName}`}); - this.metaService.updateTag({ name: 'description', content: `${this.incident?.incidentName}` }); + this.metaService.updateTag({ property: 'og:description', content: `${this.incident?.incidentName}` }); } diff --git a/client/wfnews-war/src/main/angular/src/index.html b/client/wfnews-war/src/main/angular/src/index.html index 276f5b0ed..a43e52295 100644 --- a/client/wfnews-war/src/main/angular/src/index.html +++ b/client/wfnews-war/src/main/angular/src/index.html @@ -6,10 +6,10 @@ - +