From bf08f1ce484d4a9f87ff6035958b1b0168806cbb Mon Sep 17 00:00:00 2001 From: zjwmiao <1723168479@qq.com> Date: Mon, 17 Feb 2025 17:59:50 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=A2=9E=E5=8A=A0cookie=E5=90=8C?= =?UTF-8?q?=E6=84=8F=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- layouts/partials/head.html | 2 + layouts/partials/scripts.html | 1 + static/css/cookie.css | 334 ++++++++++++++++++++ static/css/o_theme.css | 560 +++++++++++++++++++++++++++++++++ static/js/cookie-notice.js | 424 +++++++++++++++++++++++++ static/js/docdetail.js | 20 +- static/js/docsearch.js | 146 ++++++--- static/js/modules/analytics.js | 143 ++++----- 8 files changed, 1495 insertions(+), 135 deletions(-) create mode 100644 static/css/cookie.css create mode 100644 static/css/o_theme.css create mode 100644 static/js/cookie-notice.js diff --git a/layouts/partials/head.html b/layouts/partials/head.html index d53853d28..031555ae9 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -59,6 +59,8 @@ + + +