-
-
Notifications
You must be signed in to change notification settings - Fork 416
Description
Describe the bug
There are notable SEO problems on mobile devices with the GRASS GIS manual pages.
- Text too small to read
- Clickable elements too close together
- Viewport not set
- Content wider than screen
Random example:
https://search.google.com/test/mobile-friendly/result?id=nIc8LtrwxGgKXYAouSsizw&hl=en
--> https://grass.osgeo.org/grass82/manuals/r.walk.html
Expected behavior
The manual pages should be responsive, i.e. mobile friendly.
Proposed solution for "Viewport not set"
It appears that fixing "Viewport not set" seems solvable by simply adding the next line to the page header:
<meta name="viewport" content="width=device-width, initial-scale=1">
which is easy to do here as in an additional line 42:
Line 41 in 841e0b3
| <meta name="Author" content="GRASS Development Team"> |
Result of a test
Current state without viewport:
- content not readable
Potential fix with viewport:
- content readable
- menu is gone (but not really useful anyway on narrow mobile devices)
If the viewport meta line makes sense I can open a PR.



