Skip to content
Snippets Groups Projects
Commit 8f4a46ed authored by Etienne LOUPIAS's avatar Etienne LOUPIAS
Browse files

test descr

parent 68731a4c
No related branches found
No related tags found
1 merge request!942render page for linkedin
Pipeline #115267 passed
...@@ -57,7 +57,7 @@ export class PostDetailsComponent implements OnInit { ...@@ -57,7 +57,7 @@ export class PostDetailsComponent implements OnInit {
// set og tags (for linkedin post publication) // set og tags (for linkedin post publication)
this.meta.updateTag({ property: 'og:title', content: this.post.title }); this.meta.updateTag({ property: 'og:title', content: this.post.title });
this.meta.removeTag("property='og:description'"); this.meta.updateTag({ property: 'og:description', content: '' });
this.meta.updateTag({ property: 'og:type', content: 'article' }); this.meta.updateTag({ property: 'og:type', content: 'article' });
this.meta.updateTag({ property: 'og:image', content: this.post.feature_image }); this.meta.updateTag({ property: 'og:image', content: this.post.feature_image });
this.meta.updateTag({ property: 'og:url', content: `${window.location.origin}${this.router.url}` }); this.meta.updateTag({ property: 'og:url', content: `${window.location.origin}${this.router.url}` });
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment