Last active
September 21, 2019 12:03
-
-
Save abedzantout/8f76bac3b8c409b1565df8909f409edf to your computer and use it in GitHub Desktop.
Meta Tag Type
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export enum PageType { | |
| website = 'website', | |
| article = 'article' | |
| } | |
| export enum RobotsContent { | |
| follow = 'follow', | |
| index = 'index', | |
| no_follow = 'nofollow', | |
| no_index = 'noindex' | |
| } | |
| export type MetaTags = { | |
| title: string; | |
| author?: string; | |
| description: string; | |
| type: pageType; | |
| og_type?: pageType; | |
| image: string; | |
| robots: string; | |
| og_title?: string; | |
| og_description?: string; | |
| og_URL?: string; | |
| canonical: string; | |
| og_image?: string; | |
| og_site_name?: string; | |
| twitter_card?: string; | |
| twitter_description?: string; | |
| twitter_site?: string; | |
| twitter_domain?: string; | |
| twitter_img?: string; | |
| }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment