File tree Expand file tree Collapse file tree 2 files changed +4
-13
lines changed Expand file tree Collapse file tree 2 files changed +4
-13
lines changed Original file line number Diff line number Diff line change @@ -38,19 +38,16 @@ We've made some small customizations to simplify this compared to the default te
3838 <meta property =" og:description" content ={{ this.model.description }} />
3939{{ /if }}
4040
41- {{ #if this.model.imgSrc }}
42- <meta property =" og:image" content ={{ this.model.imgSrc }} />
43- {{ /if }}
41+ <meta property =" og:image" content =" https://helios.hashicorp.design/assets/logos/share-card.jpg" />
4442
4543{{! END OPENGRAPH }}
4644
4745{{! BEGIN TWITTER }}
4846
4947<meta name =" twitter:card" content =" summary_large_image" />
50-
51- {{ #if this.model.imgSrc }}
52- <meta name =" twitter:image" content ={{ this.model.imgSrc }} />
53- {{ /if }}
48+ {{! template-lint-disable no-forbidden-elements no-potential-path-strings }}
49+ <meta name =" twitter:site" content =" @HashiCorp" />
50+ <meta name =" twitter:image" content =" https://helios.hashicorp.design/assets/logos/share-card.jpg" />
5451
5552{{ #if this.model.title }}
5653 <meta name =" twitter:title" content ={{ this.model.title }} />
@@ -64,8 +61,4 @@ We've made some small customizations to simplify this compared to the default te
6461 <meta name =" twitter:description" content ={{ this.model.description }} />
6562{{ /if }}
6663
67- {{ #if this.model.twitterUsername }}
68- <meta name =" twitter:site" content ={{ this.model.twitterUsername }} />
69- {{ /if }}
70-
7164{{! END TWITTER }}
Original file line number Diff line number Diff line change @@ -34,8 +34,6 @@ module.exports = function (environment) {
3434 siteName : 'Helios Design System' ,
3535 title : 'Helios Design System' ,
3636 url : 'https://helios.hashicorp.design' ,
37- imgSrc : 'https://helios.hashicorp.design/assets/logos/share-card.jpg' ,
38- twitterUsername : '@HashiCorp' ,
3937 } ,
4038 } ;
4139
You can’t perform that action at this time.
0 commit comments