package check import ( "bytes" "io/fs" "net/url" "os" "path" "path/filepath" "regexp" "strings" "golang.org/x/net/html" ) // page is what one built HTML file says about itself. type page struct { file string // public/... url string // its address redirect bool // a meta-refresh page hotdog-cms wrote for a redirect static bool // copied as-is from static/ (a verification file, say), not a page noindex bool title string description string canonical string ogImage string ogImageAlt bool scripts []string // external script sources inlineJS []string // executable inline scripts (their first line) inlineStyles int //