跳转到内容

Privacy, GDPR & Cookie Consent

此内容尚不支持你的语言。

HugoBlox helps you build privacy-respecting websites. By default, no user data is collected.

If you use third-party integrations (like Google Analytics or Disqus), you may need to display a cookie consent banner for GDPR/CCPA compliance.

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/"

It is best practice to include a Privacy Policy page on your site.

  1. Create the Page Create a file at content/privacy.md.

  2. Add Content Clearly explain what data you collect (if any) and how it is used.

    ---
    title: Privacy Policy
    date: 2023-10-18
    ---
    We value your privacy...
  3. Link to It Add a link to your privacy policy in your footer or the cookie consent banner.

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.