From d1db06b05120b06debf2539f4571080e0875aacb Mon Sep 17 00:00:00 2001 From: Kaushal Vishwas <129539928+VISHIV05@users.noreply.github.com> Date: Mon, 5 Jan 2026 13:19:48 +0530 Subject: [PATCH] Add client-side text-to-speech option for articles --- theme/base.html | 63 +++++++++++++++++++++-------------- theme/js/theme.js | 83 ++++++++++++++++++++++++++++++++--------------- 2 files changed, 96 insertions(+), 50 deletions(-) diff --git a/theme/base.html b/theme/base.html index 22ee2ba2..3e8c512a 100644 --- a/theme/base.html +++ b/theme/base.html @@ -363,34 +363,49 @@

-
-
-
- {% block content %} -
-
-
- {% block content_inner %} - {{ page.content }} - {% endblock content_inner %} +
+
+
+ {% block content %} +
+
+
+ {% block content_inner %} + + +
+
-
-
- {% endblock content %} -
- - {% if page.meta.git_revision_date_localized %} - Last update: {{ page.meta.git_revision_date_localized }} - {% endif %} - {% if page.meta.git_created_date_localized %} -  • Created: {{ page.meta.git_created_date_localized }} - {% endif %} - + {{ page.content }} + + {% endblock content_inner %}
-
+
+
+ {% endblock content %} + +
+ + {% if page.meta.git_revision_date_localized %} + Last update: {{ page.meta.git_revision_date_localized }} + {% endif %} + {% if page.meta.git_created_date_localized %} +  • Created: {{ page.meta.git_created_date_localized }} + {% endif %} +
-
+ + + +