Files
sm-seo-plugin/menu_item_types.go
Jakub Zych edc03cae4b 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)
2026-11-04 15:18:01 +01:00

18 lines
642 B
Go

package seo
import (
"git.golem15.com/golem15/sm-seo-plugin/classes"
"git.golem15.com/golem15/summercms/modules/pact"
)
var _ pact.HasMenuItemTypes = (*Plugin)(nil)
// MenuItemTypes registers the page registry's type seo-page (D-33): its
// content descriptor (controller golem15.seo.pages, Kind page, Tools edit
// seo_update_page for the site audit's fix routes) lists,
// describes and matches the registry pages, so every page gets the SEO
// tab, resolves ok and is listed in the sitemaps grouped by its kind.
func (p *Plugin) MenuItemTypes() []pact.MenuItemType {
return []pact.MenuItemType{classes.PageMenuItemType(p.Service)}
}