Error codes · Markup
PW5035
link_not_in_body
The program must hold to this: a <link> in markup is one HTML allows in the body, each relation body-ok or an item's property, or a page's canonical address, once at the top of its view.
The decisions behind it
Reading the diagnostic
pw check prints the code in brackets, [PW5035], with the sentence above and the place in your program. Errors and diagnostics explains how to read one, and every code is listed with its rule.