From daa378d6964841d9a5c4bc39815d75c672117dea Mon Sep 17 00:00:00 2001 From: 简律纯 Date: Fri, 15 Dec 2023 09:22:24 +0800 Subject: refactor(docs/src): delete `material` dir --- docs/src/templates/partials/consent.html | 49 +++----------------------------- 1 file changed, 4 insertions(+), 45 deletions(-) (limited to 'docs/src/templates/partials/consent.html') diff --git a/docs/src/templates/partials/consent.html b/docs/src/templates/partials/consent.html index c84622bc..4ac5cb77 100644 --- a/docs/src/templates/partials/consent.html +++ b/docs/src/templates/partials/consent.html @@ -1,26 +1,6 @@ - - - +{#- + This file was automatically generated - do not edit +-#} {% set cookies = config.extra.consent.cookies | d({}) %} {% if config.extra.analytics %} {% if "analytics" not in cookies %} @@ -32,29 +12,16 @@ {% set _ = cookies.update({ "github": "GitHub" }) %} {% endif %} {% endif %} - - {% set actions = config.extra.consent.actions %} {% if not actions %} {% set actions = ["accept", "manage"] %} {% endif %} - - {% if "manage" not in actions %} {% set checked = "checked" %} {% endif %} - -

{{ config.extra.consent.title }}

{{ config.extra.consent.description }}

- - - + - -