Skip to content

Commit

Permalink
Use consent plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
santiagolizardo committed Mar 1, 2025
1 parent 3574701 commit 8b93541
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ site_url: https://ctoframework.com
repo_url: https://github.com/ctoframework/static-website
edit_uri: edit/main/docs/

copyright: Copyright © 2025
copyright: >
Copyright © 2025 –
<a href="#__consent">Change cookie settings</a>
theme:
name: material
Expand Down Expand Up @@ -48,6 +50,7 @@ plugins:
- search
- social
- awesome-nav
- privacy
- i18n:
docs_structure: suffix
fallback_to_default: true
Expand Down Expand Up @@ -112,6 +115,13 @@ extra:
analytics:
provider: google
property: !ENV GOOGLE_ANALYTICS_KEY
consent:
title: Cookie consent
description: >-
We use cookies to recognize your repeated visits and preferences, as well
as to measure the effectiveness of our documentation and whether users
find what they're searching for. With your consent, you're helping us to
make our documentation better.
hooks:
- hooks/socialmedia.py
Expand Down

0 comments on commit 8b93541

Please sign in to comment.