feat: orphan pages and merged CMS issues with fix routes

- orphan_page for listed indexable pages no crawled page links to, with
  pages mentioning the title or focus keyphrase as suggestions (D-82)
- CMS-data image_alt and h1_in_content from the content descriptors
  (TopHeading 2 only), stored with the crawl as source cms (D-85, D-50)
- seo-page names Tools edit seo_update_page; every stored issue carries
  a tool or fix code with details.what (P33-38)
- TestIssueMerge (ignored fingerprints survive the next crawl, fixed
  pages lose their issues) and TestStagingCrawl (Pitfall 12)
This commit is contained in:
Jakub Zych
2026-11-04 15:18:01 +01:00
parent 8c632331cc
commit edc03cae4b
9 changed files with 335 additions and 4 deletions

View File

@@ -125,6 +125,8 @@ type Env struct {
Staging bool
// GenericAnchors are the generic link texts (any case).
GenericAnchors []string
// Keyphrases maps an address to its SEO entry's focus keyphrase.
Keyphrases map[string]string
}
func (e *Env) record(key string) *Record {
@@ -198,6 +200,7 @@ func Check(res *Result, env *Env) []Finding {
out = append(out, checkRenderedPage(res, p, rec)...)
}
out = append(out, checkLinks(res, env)...)
out = append(out, checkOrphans(res, env)...)
out = append(out, checkSitemaps(res, env)...)
out = append(out, checkDuplicates(res, env)...)
return out