diff --git a/src/shared/components/html-tags.tsx b/src/shared/components/html-tags.tsx index ff30fb30..fbde148e 100644 --- a/src/shared/components/html-tags.tsx +++ b/src/shared/components/html-tags.tsx @@ -17,39 +17,29 @@ export class HtmlTags extends Component { return ( - {/* Primary Meta Tags */} - + {['title', 'og:title', 'twitter:title'].map(t => ( + + ))} + {['og:url', 'twitter:url'].map(u => ( + + ))} {/* Open Graph / Facebook */} - - {/* Twitter */} - - {/* Optional desc and images */} - {this.props.description && [ - , - , - , - ]} + {this.props.description && + ['description', 'og:description', 'twitter:description'].map(n => ( + + ))} - {this.props.image && [ - , - , - ]} + {this.props.image && + ['og:image', 'twitter:image'].map(p => ( + + ))} ); }