hypra

SEO-004: page has no h1

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

The h1 says what the page is about, to search engines and to screen reader users, who often jump to it first.

Fails

page(title: "Shoes", description: "All our running shoes, from light racers to trail shoes.") {
  p "All our running shoes."
}
warning[SEO-004]: page has no h1
 --> page.hypra:1:1
  |
1 | page(title: "Shoes", description: "All our running shoes, from light racers to trail shoes.") {
  | ^^^^
  = help: add h1 "..." with the page's main topic
  = docs: https://hypralang.dev/rules/seo-004/

0 errors, 1 warning

Fixed

page(title: "Shoes", description: "All our running shoes, from light racers to trail shoes.") {
  h1 "Shoes"
  p "All our running shoes."
}