Skip to content

Instantly share code, notes, and snippets.

@abedzantout
Last active September 21, 2019 12:03
Show Gist options
  • Save abedzantout/8f76bac3b8c409b1565df8909f409edf to your computer and use it in GitHub Desktop.
Save abedzantout/8f76bac3b8c409b1565df8909f409edf to your computer and use it in GitHub Desktop.
Meta Tag Type
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