Skip to content

Commit 37c427d

Browse files
committed
fix: use meta name for description
1 parent 19af5dc commit 37c427d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/templates/html/HTMLTemplate.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ export class HTMLTemplate {
8585
<meta charset="UTF-8">
8686
<title>${product.metaTitle || product.name}</title>
8787
<meta name="viewport" content="width=device-width, initial-scale=1">
88-
${HTMLTemplate.metaProperty('description', product.metaDescription)}
88+
${HTMLTemplate.metaName('description', product.metaDescription)}
8989
${HTMLTemplate.metaName('keywords', product.metaKeyword)}`;
9090
}
9191

src/templates/html/overrides/visual-comfort--adobe-edge.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export default class extends HTMLTemplate {
2323
<meta charset="UTF-8">
2424
<title>${product.metaTitle || product.name} - ${product.sku} | Visual Comfort</title>
2525
<meta name="viewport" content="width=device-width, initial-scale=1">
26-
${HTMLTemplate.metaProperty('description', product.metaDescription)}
26+
${HTMLTemplate.metaName('description', product.metaDescription)}
2727
${HTMLTemplate.metaName('keywords', product.metaKeyword)}`;
2828
}
2929
}

0 commit comments

Comments
 (0)