hypra

SEO-002: title too long

Warning: the page still builds, but this is most likely a mistake.

Search results show about the first 60 characters of a title and cut the rest. The title counts with what the layout adds, like " | Shop"; Chinese, Japanese and Korean characters count twice, as they show twice as wide.

Fails

page(title: "Running Shoes for Men and Women: Road, Trail and Racing Shoes in Every Size", description: "All our running shoes, from light racers to trail shoes.") {
  h1 "Shoes"
}
warning[SEO-002]: title is 75 characters wide (search results show about 60)
 --> page.hypra:1:13
  |
1 | page(title: "Running Shoes for Men and Women: Road, Trail and Racing Shoes in Every Size", description: "All our running shoes, from light racers to trail shoes.") {
  |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  = help: shorten the title
  = docs: https://hypralang.dev/rules/seo-002/

0 errors, 1 warning

Fixed

page(title: "Running Shoes: Road, Trail and Racing", description: "All our running shoes, from light racers to trail shoes.") {
  h1 "Shoes"
}