fix(core): update
This commit is contained in:
parent
2159995342
commit
6b9ebcec7a
@ -3,8 +3,18 @@ import * as plugins from '../websetup.plugins';
|
||||
export interface IMetaObject {
|
||||
title: string;
|
||||
description?: string;
|
||||
twitterHandle?: string;
|
||||
canonicalDomain?: string;
|
||||
ldCompany?: plugins.tsclass.business.ICompany;
|
||||
ldProduct?: any;
|
||||
|
||||
// handles
|
||||
twitterHandle?: string;
|
||||
facebookhandle?: string;
|
||||
|
||||
// links
|
||||
companyWebsiteLink?: string;
|
||||
googleNewsLink?: string;
|
||||
mediumLink?: string;
|
||||
slackLink?: string;
|
||||
airmeetLink?: string;
|
||||
}
|
||||
|
@ -2,7 +2,7 @@ import * as plugins from './websetup.plugins';
|
||||
import { Tag } from './websetup.classes.tag';
|
||||
|
||||
export class OpengraphTag extends Tag {
|
||||
public static createNewsArticleOgTags (newsArticleArg: plugins.tsclass.content.IArticle) {
|
||||
public static createNewsArticleOgTags(newsArticleArg: plugins.tsclass.content.IArticle) {
|
||||
const tagArray: OpengraphTag[] = [];
|
||||
tagArray.push(new OpengraphTag('og:url', newsArticleArg.url));
|
||||
tagArray.push(new OpengraphTag('og:title', newsArticleArg.title));
|
||||
|
Loading…
Reference in New Issue
Block a user