package check // Fixes says, for each rule, what usually puts it right: shown beside every // finding, in the editor and by `hotdog-cms check`, so a finding is never // just a complaint. var Fixes = map[string]string{ "tracker-before-consent": "Load analytics only after a visitor agrees: set analytics: in site.yaml (it's gated by the consent banner), or start it from your own consent code.", "third-party": "If the site really should load it, add the host to check.allow_third_party in site.yaml and name it in the privacy notice; otherwise host the file yourself.", "privacy-page": "Add a privacy notice at /privacy/ (or set check.privacy_page): content/privacy.md, which can list what the site loads with {{ range privacyFacts }}.", "privacy-contact": "Put an email address on the privacy notice, so people can reach whoever is responsible for their data.", "inline-script": "Move the script into a file under assets/ and load it with