all files / src/app/models/ page-seo-model.ts

100% Statements 1/1
100% Branches 0/0
100% Functions 0/0
100% Lines 1/1
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21                                       
/**
 * SEO Data of Page
 *
 * Contains all kind of data for seo and html
 */
export class PageSeoModel {
    /**
     * custom name meta data of page
     * Note: object keys will be used as "name" and values will be used as "content" of meta tag
     * Sample: names = {"robots": "index, follow", "copyright": "Name of owner"}
     * Sample: names = {"twitter:card": "article", "twitter:title": "Sample Article"}
     */
    names?: any;
    /**
     * custom property meta data of page
     * Note: object keys will be used as "property" and values will be used as "content" of meta tag
     * Sample: properties = {"og:type": "article", "og:title": "Sample Article"}
     */
    properties?: any;
}