From 03a30e6dc47d0d8f90f826a59741be31bc71372f Mon Sep 17 00:00:00 2001 From: Yang Jun Date: Mon, 22 Jun 2026 01:34:53 +0800 Subject: [PATCH] docs: replace CookieHub with cookieconsent (#918) Co-authored-by: Cursor --- .../navy/layout/partial/after_footer.swig | 4 +- docs/themes/navy/layout/partial/footer.swig | 1 + docs/themes/navy/layout/partial/head.swig | 11 ++--- .../source/css/_partial/cookieconsent.styl | 15 ++++++ .../navy/source/css/_partial/footer.styl | 7 +++ docs/themes/navy/source/css/navy.styl | 1 + .../navy/source/js/cookieconsent-config.js | 49 +++++++++++++++++++ 7 files changed, 77 insertions(+), 11 deletions(-) create mode 100644 docs/themes/navy/source/css/_partial/cookieconsent.styl create mode 100644 docs/themes/navy/source/js/cookieconsent-config.js diff --git a/docs/themes/navy/layout/partial/after_footer.swig b/docs/themes/navy/layout/partial/after_footer.swig index 8c36be6fb..e6778541a 100644 --- a/docs/themes/navy/layout/partial/after_footer.swig +++ b/docs/themes/navy/layout/partial/after_footer.swig @@ -17,12 +17,10 @@ debug: false }); - - \ No newline at end of file diff --git a/docs/themes/navy/layout/partial/footer.swig b/docs/themes/navy/layout/partial/footer.swig index 09753d621..ba66a2353 100644 --- a/docs/themes/navy/layout/partial/footer.swig +++ b/docs/themes/navy/layout/partial/footer.swig @@ -5,6 +5,7 @@ {{__('footer.license')}}