fix(core): update

This commit is contained in:
2023-05-08 15:22:27 +02:00
parent 2f4fd839a1
commit c34d71238a
4 changed files with 9 additions and 9 deletions

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@pushrocks/websetup',
version: '3.0.18',
version: '3.0.19',
description: 'setup basic page properties'
}

View File

@ -14,7 +14,7 @@ export class OpengraphTag extends Tag {
public static createProductOgTags(productArg: plugins.tsclass.saas.IProduct) {
const tagArray: OpengraphTag[] = [];
tagArray.push(new OpengraphTag('og:url', globalThis.location.href));
tagArray.push(new OpengraphTag('og:title', productArg.name));
tagArray.push(new OpengraphTag('og:title', `${productArg.name} - ${productArg.slogan}`));
tagArray.push(new OpengraphTag('og:site_name', productArg.name))
tagArray.push(new OpengraphTag('og:description', productArg.description));
tagArray.push(new OpengraphTag('og:image', productArg.logoLink));