Privacy, GDPR & Cookie Consent
此内容尚不支持你的语言。
HugoBlox helps you build privacy-respecting websites. By default, no user data is collected.
Cookie Consent
Section titled “Cookie Consent”If you use third-party integrations (like Google Analytics or Disqus), you may need to display a cookie consent banner for GDPR/CCPA compliance.
Configuration
Section titled “Configuration”Enable the built-in consent banner in config/_default/params.yaml:
marketing: privacy: cookie_consent: enable: true content: message: "This website uses cookies to ensure you get the best experience." dismiss: "Got it!" link: "Learn more" href: "/privacy/"Privacy Policy
Section titled “Privacy Policy”It is best practice to include a Privacy Policy page on your site.
-
Create the Page Create a file at
content/privacy.md. -
Add Content Clearly explain what data you collect (if any) and how it is used.
---title: Privacy Policydate: 2023-10-18---We value your privacy... -
Link to It Add a link to your privacy policy in your footer or the cookie consent banner.
Third-Party Services
Section titled “Third-Party Services”Privacy-First Alternatives
Section titled “Privacy-First Alternatives”Consider using privacy-friendly alternatives supported by HugoBlox:
- Analytics: Pirsch, Fathom, or Plausible instead of Google Analytics.
- Comments: Giscus or Commento instead of Disqus.
- Search: Built-in Pagefind search (local) instead of Algolia.