Legal Pages

Built-in legal pages with Markdown support

Built-in legal pages system. Ready to use.

These are placeholder templates only.

  • You are responsible for customizing these pages for your specific use case
  • These templates are not legal advice
  • Consult with a lawyer for compliance with your jurisdiction (GDPR, CCPA, etc.)
  • The templates provide structure, but accuracy and completeness are your responsibility
  • We assume no liability for how you use or modify these templates

Resources to help you:

  • Professional legal counsel (recommended)
  • Privacy policy generators: Termly, iubenda
  • GDPR compliance: gdpr.eu

Files

Pre-configured templates in content/legal/:

  • terms.md - Terms of Service
  • privacy.md - Privacy Policy
  • cookies.md - Cookie Policy

Just add your content.

Frontmatter

---
title: Terms of Service
description: Your terms
lastUpdated: 2024-01-15  # optional, falls back to file date
---

Routes

Automatically available at:

  • /legal/terms
  • /legal/privacy
  • /legal/cookies

Add More

Create content/legal/imprint.md → available at /legal/imprint

Customize

  1. Edit the markdown files
  2. Add your company details
  3. Deploy

That’s it.

By default (without analytics), no cookie banner is needed.

The boilerplate uses only essential cookies:

  • JWT Authentication Cookie - Required for login functionality (essential, no consent needed)
  • Theme Preference - Stored in localStorage (not a cookie)

Essential cookies required for the website to function don’t require user consent under GDPR.

If you enable certain analytics providers, you’ll need to implement a cookie consent banner:

⚠️ Cookie banner required:

  • Google Tag Manager
  • Google Analytics 4
  • Microsoft Clarity

✅ No cookie banner needed:

  • Plausible Analytics

See the Analytics documentation for more details on each provider.