fix(core): update
This commit is contained in:
parent
c0d223959d
commit
4f06c5d7c5
@ -63,6 +63,8 @@ export class JsonLdTag extends Tag {
|
|||||||
},
|
},
|
||||||
"description": newsArticleArg.author.firstName
|
"description": newsArticleArg.author.firstName
|
||||||
};
|
};
|
||||||
|
const ldTag = new JsonLdTag(newsArticleArg);
|
||||||
|
return ldTag;
|
||||||
}
|
}
|
||||||
|
|
||||||
constructor(ldObjectArg: any) {
|
constructor(ldObjectArg: any) {
|
||||||
|
@ -52,7 +52,9 @@ export class TagLevel {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
public addPostInfo() {}
|
public addNewsArticleInfo(articleArg: plugins.tsclass.content.IArticle) {
|
||||||
|
this.addTag(JsonLdTag.createNewsArticleLd(articleArg));
|
||||||
|
}
|
||||||
|
|
||||||
public async enable() {
|
public async enable() {
|
||||||
if (this.title) {
|
if (this.title) {
|
||||||
|
Loading…
Reference in New Issue
Block a user