Skip to content

Commit bca3ff0

Browse files
fix: remove duplicate viewport meta tag from headTags
Docusaurus already injects <meta name=viewport> by default from its core theme. Adding it again via headTags created a duplicate tag. Removes the redundant entry per Copilot review on PR. Signed-off-by: Aryan Parikh <aryan81006@gmail.com>
1 parent f015465 commit bca3ff0

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

docusaurus.config.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,6 @@ module.exports = {
5353
{name: "twitter:card", content: "summary_large_image"},
5454
],
5555
headTags: [
56-
// ── Viewport (mobile performance) ──────────────────────────────────
57-
{
58-
tagName: "meta",
59-
attributes: {
60-
name: "viewport",
61-
content: "width=device-width, initial-scale=1.0, viewport-fit=cover",
62-
},
63-
},
6456
// ── Preconnect / DNS-prefetch for critical third-party origins ─────
6557
// Keploy CDN
6658
{

0 commit comments

Comments
 (0)