no viewport

warning no-viewport Titles, descriptions and headings

No ``: the page renders as a shrunken desktop on a phone. Google indexes the mobile version, so this is a warning, and on a generated site it is one line in the template.

What indexgap reports

The finding reads:

warning  no-viewport  no <meta name="viewport">: on a phone the page opens as a shrunken desktop copy, and Google indexes the mobile version

How to fix it

Add <meta name="viewport" content="width=device-width, initial-scale=1"> to the template.

How it behaves at scale

Collapsed when it fires template-wide. If it appears on 90% or more of the pages — or of one language version — of a site with at least 20 pages, it is a property of the template and is reported once, with the count, instead of once per page.

Finding it

pipx install indexgap
cd your-project
indexgap init
indexgap check

Then indexgap brief turns every finding on this page into a work order in indexgap-briefs/, with the thresholds the result has to satisfy and the command to check it.

Related checks in titles, descriptions and headings

All checks · Titles, descriptions and headings