Skip to content

Commit 28ebf42

Browse files
fix(blog): change atribut in meta (#291)
1 parent 3affdbb commit 28ebf42

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

libs/blog/shared/util-seo/src/lib/services/seo.service.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,12 +130,12 @@ export class SeoService {
130130

131131
for (const [index, entry] of entries.entries()) {
132132
const label: MetaDefinition = {
133-
name: `${SEO_META_KEYS.twitterMiscLabel}${index + 1}`,
133+
property: `${SEO_META_KEYS.twitterMiscLabel}${index + 1}`,
134134
content: entry[0],
135135
};
136136

137137
const data: MetaDefinition = {
138-
name: `${SEO_META_KEYS.twitterMiscData}${index + 1}`,
138+
property: `${SEO_META_KEYS.twitterMiscData}${index + 1}`,
139139
content: entry[1],
140140
};
141141

@@ -178,7 +178,7 @@ export class SeoService {
178178

179179
private updateTag(content: string, name: SeoMetaKeys | SeoTitleKeys): void {
180180
const meta: MetaDefinition = {
181-
name:
181+
property:
182182
SEO_META_KEYS[name as SeoMetaKeys] ||
183183
SEO_TITLE_KEYS[name as SeoTitleKeys],
184184
content: content,

0 commit comments

Comments
 (0)