diff --git a/server/core/render/template/groups.ts b/server/core/render/template/groups.ts index 9016022..8afd8f8 100644 --- a/server/core/render/template/groups.ts +++ b/server/core/render/template/groups.ts @@ -1,6 +1,9 @@ import type { TemplateMeta } from '~/types' export function generateGroups(meta: TemplateMeta) { + if (!meta.group) + return '' + let groupsSvg = '' meta.groupIconList.forEach((game: string) => { groupsSvg += /* html */` diff --git a/server/core/render/template/svg.ts b/server/core/render/template/svg.ts index 0ebc33f..13c69d2 100644 --- a/server/core/render/template/svg.ts +++ b/server/core/render/template/svg.ts @@ -40,7 +40,7 @@ export function generateSvg(meta: TemplateMeta) {
${generateGroups(meta)} - + ${meta.badge ? `` : ''}