From 62c3bfab3bad21f3846d3faf12a210c376462ba1 Mon Sep 17 00:00:00 2001
From: Deepak Khatri <lorforlinux@beagleboard.org>
Date: Tue, 12 Mar 2024 01:02:54 +0530
Subject: [PATCH] Add cc-by-sa logo to footer

---
 _templates/cc-by-sa.html | 3 +++
 conf.py                  | 1 +
 2 files changed, 4 insertions(+)
 create mode 100644 _templates/cc-by-sa.html

diff --git a/_templates/cc-by-sa.html b/_templates/cc-by-sa.html
new file mode 100644
index 00000000..4f30f019
--- /dev/null
+++ b/_templates/cc-by-sa.html
@@ -0,0 +1,3 @@
+<a href="https://creativecommons.org/licenses/by-sa/4.0/">
+    <img src="https://mirrors.creativecommons.org/presskit/buttons/88x31/svg/by-sa.svg"/>
+</a>
diff --git a/conf.py b/conf.py
index ddbe82e8..f7094b42 100644
--- a/conf.py
+++ b/conf.py
@@ -153,6 +153,7 @@ html_theme_options = {
     "navbar_end": ["theme-switcher", "navbar-icon-links"],
     # "navbar_persistent": ["search-button"],
     "footer_start": ["copyright"],
+    "footer_center": ["cc-by-sa"],
     "footer_end": ["last-updated"],
     # "content_footer_items": ["last-updated"],
     "secondary_sidebar_items": {
-- 
GitLab