From 53c85c24987022a735bc04acd51c45634c522ead Mon Sep 17 00:00:00 2001 From: Deepak Khatri <deepaklorkhatri7@gmail.com> Date: Mon, 19 Feb 2024 23:46:21 +0530 Subject: [PATCH] Add forum button on all pages --- _templates/forum.html | 3 +++ conf.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 _templates/forum.html diff --git a/_templates/forum.html b/_templates/forum.html new file mode 100644 index 0000000..4ba78dd --- /dev/null +++ b/_templates/forum.html @@ -0,0 +1,3 @@ +<a class="btn btn-danger btn-sm btn-block text-light" role="button" href="https://bbb.io/gsocml"> + <i class="fa-brands fa-discourse"></i> Discuss on Forum +</a> \ No newline at end of file diff --git a/conf.py b/conf.py index e88b28e..8e95902 100644 --- a/conf.py +++ b/conf.py @@ -117,7 +117,7 @@ html_theme_options = { "footer_end": ["last-updated"], # "content_footer_items": ["last-updated"], "secondary_sidebar_items": { - "**": ["page-toc", "edit-this-page", "sourcelink","pdf"] + "**": ["page-toc", "edit-this-page", "sourcelink","forum","pdf"] } } -- GitLab